mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2025-05-11 21:15:37 +02:00
fix: Respect device locale on launch (fallback to English)
This commit is contained in:
parent
841d61278b
commit
cb6192c96e
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue