mirror of
https://github.com/venera-app/venera.git
synced 2025-12-14 14:31:16 +00:00
Fix getLocale
This commit is contained in:
@@ -156,7 +156,7 @@ class JsEngine with _JSEngineApi, JsUiApi {
|
||||
case "UI":
|
||||
return handleUIMessage(Map.from(message));
|
||||
case "getLocale":
|
||||
return "${App.locale.languageCode}-${App.locale.countryCode}";
|
||||
return "${App.locale.languageCode}_${App.locale.countryCode}";
|
||||
case "getPlatform":
|
||||
return Platform.operatingSystem;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user