fix: mobile more actions, check version 1.2.7 (#8526)

Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
fufesou 2024-06-29 11:50:40 +08:00 committed by GitHub
parent a632718e80
commit 1fd170b089
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View file

@ -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')),