android, secure keyboard on remote input (#8425)

Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
fufesou 2024-06-20 20:20:32 +08:00 committed by GitHub
parent c1322b47c3
commit 39e3da1eb0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -479,7 +479,11 @@ class _RemotePageState extends State<RemotePage> {
: TextFormField(
textInputAction: TextInputAction.newline,
autocorrect: false,
enableSuggestions: false,
// Flutter 3.16.9 Android.
// `enableSuggestions` causes secure keyboard to be shown.
// https://github.com/flutter/flutter/issues/139143
// https://github.com/flutter/flutter/issues/146540
// enableSuggestions: false,
autofocus: true,
focusNode: _mobileFocusNode,
maxLines: null,