Merge pull request #4243 from matrix-org/t3chguy/shortcuts2

Register Mac electron specific Cmd+, shortcut to User Settings
pull/21833/head
Michael Telatynski 2020-03-20 10:45:05 +00:00 committed by GitHub
commit 791e406129
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -313,3 +313,7 @@ export const toggleDialog = () => {
},
});
};
export const registerShortcut = (category: Categories, defn: IShortcut) => {
shortcuts[category].push(defn);
};