Merge pull request #4581 from 21pages/android

only enable_soft_keyboard in CustomAlertDialog on android
This commit is contained in:
RustDesk authored and GitHub committed 2023-06-07 22:53:35 +08:00
commit 209e460f3f
1 file changed
+1 -1
+1 -1
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,