更新样式
This commit is contained in:
@@ -110,7 +110,7 @@ class AppLanguage extends Translations {
|
||||
Locale get currentLocale {
|
||||
// final parts = _currentLanguageCode.split('-');
|
||||
// return Locale(parts[0], parts.length > 1 ? parts[1] : null);
|
||||
return isChinese()? Locale('zh', 'CN') : Locale('en', 'US');
|
||||
return isChinese()? const Locale('zh', 'CN') : const Locale('en', 'US');
|
||||
}
|
||||
|
||||
bool isChinese() {
|
||||
|
||||
Reference in New Issue
Block a user