diff --git a/flutter_hbb/lib/common.dart b/flutter_hbb/lib/common.dart index 455a2e7d8..cbf2bec98 100644 --- a/flutter_hbb/lib/common.dart +++ b/flutter_hbb/lib/common.dart @@ -4,7 +4,7 @@ import 'package:flutter_easyloading/flutter_easyloading.dart'; import 'package:tuple/tuple.dart'; import 'dart:io'; -final bool isZh = Platform.localeName == "zh_CN"; +final bool isZh = Platform.localeName.startsWith('zh'); final langs = >{ 'zh': {