more zh, for configuration and installation and upgrade, and flutter,

not test yet
This commit is contained in:
rustdesk
2021-04-25 00:19:35 +08:00
parent 0c35437531
commit 6b6ffb3f17
4 changed files with 111 additions and 37 deletions

View File

@@ -179,7 +179,7 @@ class FfiModel with ChangeNotifier {
_pi.sasEnabled = evt['sas_enabled'] == "true";
_pi.currentDisplay = int.parse(evt['current_display']);
List<dynamic> displays = json.decode(evt['displays']);
_pi.displays = List<Display>();
_pi.displays = [];
for (int i = 0; i < displays.length; ++i) {
Map<String, dynamic> d0 = displays[i];
var d = Display();