Merge pull request #3544 from Heap-Hop/master

Fix Android bugs
This commit is contained in:
RustDesk
2023-03-08 10:54:52 +08:00
committed by GitHub
6 changed files with 15 additions and 3 deletions

View File

@@ -263,8 +263,11 @@ class ServerModel with ChangeNotifier {
toggleInput() {
if (_inputOk) {
parent.target?.invokeMethod("stop_input");
bind.mainSetOption(key: "enable-keyboard", value: 'N');
} else {
if (parent.target != null) {
/// the result of toggle-on depends on user actions in the settings page.
/// handle result, see [ServerModel.changeStatue]
showInputWarnAlert(parent.target!);
}
}