Merge pull request #4580 from 21pages/android

force enable soft keyboard in CustomAlertDialog for mobile
This commit is contained in:
RustDesk 2023-06-07 22:42:55 +08:00 committed by GitHub
commit ee50eccda0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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