mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-16 13:11:28 +03:00
fix: mobile more actions, check version 1.2.7 (#8526)
Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
@@ -1882,7 +1882,7 @@ class _KeyboardMenu extends StatelessWidget {
|
|||||||
|
|
||||||
mobileActions() {
|
mobileActions() {
|
||||||
if (pi.platform != kPeerPlatformAndroid) return [];
|
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 [];
|
if (!enabled) return [];
|
||||||
return [
|
return [
|
||||||
Divider(),
|
Divider(),
|
||||||
|
|||||||
@@ -558,6 +558,8 @@ class _RemotePageState extends State<RemotePage> {
|
|||||||
!gFFI.ffiModel.keyboard) {
|
!gFFI.ffiModel.keyboard) {
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
final enabled = versionCmp(gFFI.ffiModel.pi.version, '1.2.7') >= 0;
|
||||||
|
if (!enabled) return [];
|
||||||
return [
|
return [
|
||||||
TTextMenu(
|
TTextMenu(
|
||||||
child: Text(translate('Back')),
|
child: Text(translate('Back')),
|
||||||
|
|||||||
Reference in New Issue
Block a user