mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-06 14:51:28 +03:00
refresh
This commit is contained in:
@@ -721,16 +721,16 @@ void showActions(BuildContext context) {
|
||||
context: context,
|
||||
position: RelativeRect.fromLTRB(x, y, x, y),
|
||||
items: [
|
||||
PopupMenuItem<String>(
|
||||
child: Text('Insert Ctrl + Alt + Del'), value: 'cad'),
|
||||
PopupMenuItem<String>(
|
||||
child: Text('Insert Lock'), value: 'lock'),
|
||||
] +
|
||||
FFI.ffiModel.pi.version.isEmpty
|
||||
? []
|
||||
: [
|
||||
PopupMenuItem<String>(child: Text('Refresh'), value: 'refresh'),
|
||||
],
|
||||
PopupMenuItem<String>(
|
||||
child: Text('Insert Ctrl + Alt + Del'), value: 'cad'),
|
||||
PopupMenuItem<String>(child: Text('Insert Lock'), value: 'lock'),
|
||||
] +
|
||||
(FFI.ffiModel.pi.version.isEmpty
|
||||
? []
|
||||
: [
|
||||
PopupMenuItem<String>(
|
||||
child: Text('Refresh'), value: 'refresh'),
|
||||
]),
|
||||
elevation: 8,
|
||||
);
|
||||
if (value == 'cad') {
|
||||
|
||||
Reference in New Issue
Block a user