fix: mobile more actions, check version 1.2.7 (#8526)
Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
parent
a632718e80
commit
1fd170b089
@ -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')),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user