mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-14 18:51:29 +03:00
flutter_desktop: refactor GetX in popup menu
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
@@ -611,7 +611,7 @@ class _RemoteMenubarState extends State<RemoteMenubar> {
|
||||
MenuEntryRadioOption(text: translate('Map mode'), value: 'map'),
|
||||
],
|
||||
curOptionGetter: () async {
|
||||
return await bind.sessionGetKeyboardName(id: widget.id) ?? 'legacy';
|
||||
return await bind.sessionGetKeyboardName(id: widget.id);
|
||||
},
|
||||
optionSetter: (String oldValue, String newValue) async {
|
||||
await bind.sessionSetKeyboardMode(
|
||||
|
||||
Reference in New Issue
Block a user