fix formatId, right panel button style, default windows size (windows,

Linux, no idea about Mac, need to check with xcode)
This commit is contained in:
rustdesk
2022-09-20 19:31:32 +08:00
parent 13fe2164d4
commit 3101c4e119
6 changed files with 40 additions and 33 deletions

View File

@@ -33,6 +33,7 @@ class IDTextInputFormatter extends TextInputFormatter {
String formatID(String id) {
String id2 = id.replaceAll(' ', '');
if (int.tryParse(id2) == null) return id;
String newID = '';
if (id2.length <= 3) {
newID = id2;