fix, android softkeyboard, 'delete input' on conn password
Signed-off-by: dignow <linlong1265@gmail.com>
This commit is contained in:
parent
405363da59
commit
ea5c60af7a
@ -275,7 +275,9 @@ class _RemotePageState extends State<RemotePage> {
|
|||||||
return Offstage();
|
return Offstage();
|
||||||
}(),
|
}(),
|
||||||
_bottomWidget(),
|
_bottomWidget(),
|
||||||
gFFI.ffiModel.pi.isSet.isFalse ? emptyOverlay(MyTheme.canvasColor) : Offstage(),
|
gFFI.ffiModel.pi.isSet.isFalse
|
||||||
|
? emptyOverlay(MyTheme.canvasColor)
|
||||||
|
: Offstage(),
|
||||||
],
|
],
|
||||||
)),
|
)),
|
||||||
body: Overlay(
|
body: Overlay(
|
||||||
@ -316,12 +318,15 @@ class _RemotePageState extends State<RemotePage> {
|
|||||||
Widget getRawPointerAndKeyBody(Widget child) {
|
Widget getRawPointerAndKeyBody(Widget child) {
|
||||||
final keyboard = gFFI.ffiModel.permissions['keyboard'] != false;
|
final keyboard = gFFI.ffiModel.permissions['keyboard'] != false;
|
||||||
return RawPointerMouseRegion(
|
return RawPointerMouseRegion(
|
||||||
cursor: keyboard ? SystemMouseCursors.none : MouseCursor.defer,
|
cursor: keyboard ? SystemMouseCursors.none : MouseCursor.defer,
|
||||||
inputModel: inputModel,
|
inputModel: inputModel,
|
||||||
child: RawKeyFocusScope(
|
child: gFFI.ffiModel.pi.isSet.isTrue
|
||||||
focusNode: _physicalFocusNode,
|
? RawKeyFocusScope(
|
||||||
inputModel: inputModel,
|
focusNode: _physicalFocusNode,
|
||||||
child: child));
|
inputModel: inputModel,
|
||||||
|
child: child)
|
||||||
|
: child,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
Widget getBottomAppBar(bool keyboard) {
|
Widget getBottomAppBar(bool keyboard) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user