diff --git a/flutter/lib/desktop/widgets/remote_toolbar.dart b/flutter/lib/desktop/widgets/remote_toolbar.dart index 1baae26d3..53df40fed 100644 --- a/flutter/lib/desktop/widgets/remote_toolbar.dart +++ b/flutter/lib/desktop/widgets/remote_toolbar.dart @@ -1882,7 +1882,7 @@ class _KeyboardMenu extends StatelessWidget { mobileActions() { if (pi.platform != kPeerPlatformAndroid) return []; - final enabled = versionCmp(pi.version, '1.2.6') >= 0; + final enabled = versionCmp(pi.version, '1.2.7') >= 0; if (!enabled) return []; return [ Divider(), diff --git a/flutter/lib/mobile/pages/remote_page.dart b/flutter/lib/mobile/pages/remote_page.dart index 7c4adcf92..cd5743d0b 100644 --- a/flutter/lib/mobile/pages/remote_page.dart +++ b/flutter/lib/mobile/pages/remote_page.dart @@ -558,6 +558,8 @@ class _RemotePageState extends State { !gFFI.ffiModel.keyboard) { return []; } + final enabled = versionCmp(gFFI.ffiModel.pi.version, '1.2.7') >= 0; + if (!enabled) return []; return [ TTextMenu( child: Text(translate('Back')),