From c275ef6b498a1da599626e615cccbdbb181769c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20Brandner?= Date: Wed, 16 Feb 2022 16:29:52 +0100 Subject: [PATCH] Fix command key missing in keyboard shortcuts tab (#21102) --- src/vector/platform/ElectronPlatform.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/vector/platform/ElectronPlatform.tsx b/src/vector/platform/ElectronPlatform.tsx index 23bf7982eb..81f13929dc 100644 --- a/src/vector/platform/ElectronPlatform.tsx +++ b/src/vector/platform/ElectronPlatform.tsx @@ -297,21 +297,21 @@ export default class ElectronPlatform extends VectorBasePlatform { if (isMac) { registerShortcut("KeyBinding.openUserSettings", CategoryName.NAVIGATION, { default: { - commandKey: true, + metaKey: true, key: Key.COMMA, }, displayName: _td("Open user settings"), }); registerShortcut("KeyBinding.previousVisitedRoomOrCommunity", CategoryName.NAVIGATION, { default: { - commandKey: true, + metaKey: true, key: Key.SQUARE_BRACKET_LEFT, }, displayName: _td("Previous recently visited room or community"), }); registerShortcut("KeyBinding.nextVisitedRoomOrCommunity", CategoryName.NAVIGATION, { default: { - commandKey: true, + metaKey: true, key: Key.SQUARE_BRACKET_RIGHT, }, displayName: _td("Next recently visited room or community"),