mirror of
https://github.com/wgh136/pixes.git
synced 2025-09-27 12:57:24 +00:00
fix language select
This commit is contained in:
@@ -26,8 +26,8 @@ class _App {
|
||||
if(appdata.settings["language"] != "System"){
|
||||
return switch(appdata.settings["language"]){
|
||||
"English" => const Locale("en"),
|
||||
"简体中文" => const Locale("zh"),
|
||||
"繁體中文" => const Locale("zh", "Hant"),
|
||||
"简体中文" => const Locale("zh", "CN"),
|
||||
"繁體中文" => const Locale("zh", "TW"),
|
||||
_ => const Locale("en"),
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user