Change prefs

This commit is contained in:
problematicconsumer
2023-09-07 13:43:46 +03:30
parent d52404a040
commit 854b522d97
10 changed files with 47 additions and 44 deletions

View File

@@ -12,7 +12,7 @@ class AdvancedSettingTiles extends HookConsumerWidget {
Widget build(BuildContext context, WidgetRef ref) {
final t = ref.watch(translationsProvider);
final debug = ref.watch(debugModeProvider);
final debug = ref.watch(debugModeNotifierProvider);
return Column(
children: [
@@ -47,7 +47,7 @@ class AdvancedSettingTiles extends HookConsumerWidget {
},
);
}
await ref.read(debugModeProvider.notifier).update(value);
await ref.read(debugModeNotifierProvider.notifier).update(value);
},
),
],