fix: Respect device locale on launch (fallback to English)

This commit is contained in:
aAbed 2025-04-17 23:48:17 +05:45
parent 841d61278b
commit cb6192c96e
No known key found for this signature in database
GPG key ID: F26611AB3F996827

View file

@ -325,7 +325,7 @@ class ManagerAPI {
}
String getLocale() {
return _prefs.getString('locale') ?? 'en';
return _prefs.getString('locale') ?? Platform.localeName;
}
Future<void> setLocale(String value) async {