Keyboard shortcuts and accessibility
This commit is contained in:
7
main.js
7
main.js
@@ -455,6 +455,12 @@ function openForums() {
|
||||
shell.openExternal('https://community.signalusers.org/');
|
||||
}
|
||||
|
||||
function showKeyboardShortcuts() {
|
||||
if (mainWindow) {
|
||||
mainWindow.webContents.send('show-keyboard-shortcuts');
|
||||
}
|
||||
}
|
||||
|
||||
function setupWithImport() {
|
||||
if (mainWindow) {
|
||||
mainWindow.webContents.send('set-up-with-import');
|
||||
@@ -787,6 +793,7 @@ function setupMenu(options) {
|
||||
const menuOptions = Object.assign({}, options, {
|
||||
development,
|
||||
showDebugLog: showDebugLogWindow,
|
||||
showKeyboardShortcuts,
|
||||
showWindow,
|
||||
showAbout,
|
||||
showSettings: showSettingsWindow,
|
||||
|
Reference in New Issue
Block a user