swap key update

This commit is contained in:
sjpark
2023-02-09 11:54:23 +09:00
parent e3963adf49
commit edff4acbcb
11 changed files with 27 additions and 79 deletions

View File

@@ -278,8 +278,6 @@ class _GeneralState extends State<_General> {
_OptionCheckBox(context, 'Confirm before closing multiple tabs',
'enable-confirm-closing-tabs'),
_OptionCheckBox(context, 'Adaptive Bitrate', 'enable-abr'),
if (Platform.isMacOS)
_OptionCheckBox(context, 'Swap control-command key', 'allow-swap-key'),
if (Platform.isLinux)
Tooltip(
message: translate('software_render_tip'),

View File

@@ -1580,6 +1580,9 @@ class _RemoteMenubarState extends State<RemoteMenubar> {
),
);
}
keyboardMenu.add(_createSwitchMenuEntry(
'Swap Control-Command Key', 'allow_swap_key', EdgeInsets.zero, true));
return keyboardMenu;
}