Fix command key missing in keyboard shortcuts tab (#21102)

This commit is contained in:
Šimon Brandner 2022-02-16 16:29:52 +01:00 committed by GitHub
parent 135f37eeaf
commit c275ef6b49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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