更新样式

This commit is contained in:
wyf
2025-11-18 10:21:33 +08:00
parent a0172b394b
commit 0ebe7116f6
37 changed files with 325 additions and 161 deletions

View File

@@ -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() {