mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-14 20:12:25 -06:00
feat: Migrated strings, and translations to native flutter l10n plugin
This commit is contained in:
@@ -44,7 +44,7 @@ class ApplicationSettingsState {
|
||||
|
||||
static String get _defaultPreferredLocaleSubtag {
|
||||
String preferredLocale = Platform.localeName.split("_").first;
|
||||
if (!S.delegate.supportedLocales
|
||||
if (!S.supportedLocales
|
||||
.any((locale) => locale.languageCode == preferredLocale)) {
|
||||
preferredLocale = 'en';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user