fix on zh

This commit is contained in:
open-trade 2021-04-25 12:49:03 +08:00
parent 51be791a3a
commit 0c17a67573

View File

@ -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 = <String, Map<String, String>>{
'zh': <String, String>{