Change core prefs to use code generation

This commit is contained in:
problematicconsumer
2023-09-06 23:09:49 +03:30
parent 167ec5f797
commit 35866beaa0
6 changed files with 119 additions and 26 deletions

View File

@@ -13,7 +13,7 @@ class AppView extends HookConsumerWidget with PresLogger {
@override
Widget build(BuildContext context, WidgetRef ref) {
final router = ref.watch(routerProvider);
final locale = ref.watch(localeProvider).locale;
final locale = ref.watch(localeNotifierProvider).locale;
final theme = ref.watch(themeProvider);
ref.watch(commonControllersProvider);