mobile save config when disable input
This commit is contained in:
parent
9f69cf3d6e
commit
93d196c2f8
@ -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!);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user