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() {
|
||||
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(),
|
||||
|
@ -558,6 +558,8 @@ class _RemotePageState extends State<RemotePage> {
|
||||
!gFFI.ffiModel.keyboard) {
|
||||
return [];
|
||||
}
|
||||
final enabled = versionCmp(gFFI.ffiModel.pi.version, '1.2.7') >= 0;
|
||||
if (!enabled) return [];
|
||||
return [
|
||||
TTextMenu(
|
||||
child: Text(translate('Back')),
|
||||
|
Loading…
x
Reference in New Issue
Block a user