fix showMobileActionsOverlay init

This commit is contained in:
csf 2022-09-29 20:50:01 +08:00
parent 1d04eda6f5
commit deedac3497

View File

@ -269,8 +269,10 @@ class FfiModel with ChangeNotifier {
_touchMode = true;
if (parent.target != null &&
parent.target!.ffiModel.permissions['keyboard'] != false) {
Timer(const Duration(milliseconds: 100),
parent.target!.dialogManager.showMobileActionsOverlay);
Timer(
const Duration(milliseconds: 100),
() => parent.target!.dialogManager
.showMobileActionsOverlay(ffi: parent.target!));
}
} else {
_touchMode =