fix, one tap results double tap event

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2023-10-02 10:15:20 +08:00
parent 92213f9228
commit 863c8de28e
2 changed files with 5 additions and 4 deletions

View File

@@ -421,9 +421,8 @@ class _RemotePageState extends State<RemotePage> {
);
}
// to-do: Check if peer is ios.
bool get isPeerMobile => kPeerPlatformAndroid == gFFI.ffiModel.pi.platform;
bool get showCursorPaint => !isPeerMobile && !gFFI.canvasModel.cursorEmbedded;
bool get showCursorPaint =>
!gFFI.ffiModel.isPeerAndroid && !gFFI.canvasModel.cursorEmbedded;
Widget getBodyForMobile() {
final keyboardIsVisible = keyboardVisibilityController.isVisible;