mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-11-27 23:19:02 +08:00
fix on zh
This commit is contained in:
parent
51be791a3a
commit
0c17a67573
@ -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>{
|
||||
|
Loading…
Reference in New Issue
Block a user