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

Register Mac electron specific Cmd+, shortcut to User Settings
This commit is contained in:
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

View file

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