This commit is contained in:
2026-03-22 01:21:29 +03:00
parent 70c6568a1b
commit 1c3b506d4b
7 changed files with 3 additions and 35 deletions
-1
View File
@@ -7,7 +7,6 @@ class LocaleNotifier extends Notifier<AppLocale> {
@override
AppLocale build() {
// Load persisted locale synchronously via ref
final prefs = ref.read(sharedPreferencesProvider);
final saved = prefs.getString(_key);
return saved == 'ru' ? AppLocale.ru : AppLocale.en;