mirror of
https://github.com/Dvorinka/1356.git
synced 2026-10-29 07:24:51 +00:00
small fix, don't worry about it
This commit is contained in:
1 parent
7b7ed0083f
commit
5ab2773f98
55 files changed
+3240
-483
No files matched your search
@@ -7,10 +7,10 @@ class OnboardingController extends StateNotifier<bool> {
|
||||
static const String _onboardingKey = 'onboarding_completed';
|
||||
|
||||
OnboardingController() : super(false) {
|
||||
_loadOnboardingStatus();
|
||||
loadOnboardingStatus();
|
||||
}
|
||||
|
||||
Future<void> _loadOnboardingStatus() async {
|
||||
Future<void> loadOnboardingStatus() async {
|
||||
try {
|
||||
final box = await Hive.openBox('app_settings');
|
||||
final completed = box.get(_onboardingKey, defaultValue: false);
|
||||
|
||||
Reference in new issue
Block a user