mirror of https://github.com/vector-im/riot-web
Register Mac electron specific Cmd+, shortcut to User Settings
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>pull/21833/head
parent
20d0e8a888
commit
de581b2a5a
|
@ -313,3 +313,7 @@ export const toggleDialog = () => {
|
|||
},
|
||||
});
|
||||
};
|
||||
|
||||
export const registerShortcut = (category: Categories, defn: IShortcut) => {
|
||||
shortcuts[category].push(defn);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue