Merge pull request #4581 from 21pages/android

only enable_soft_keyboard in CustomAlertDialog on android
This commit is contained in:
RustDesk 2023-06-07 22:53:35 +08:00 committed by GitHub
commit 209e460f3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -848,7 +848,7 @@ class CustomAlertDialog extends StatelessWidget {
if (!scopeNode.hasFocus) scopeNode.requestFocus();
});
bool tabTapped = false;
if (isMobile) gFFI.invokeMethod("enable_soft_keyboard", true);
if (isAndroid) gFFI.invokeMethod("enable_soft_keyboard", true);
return FocusScope(
node: scopeNode,