Skip to content
This repository was archived by the owner on Jan 8, 2022. It is now read-only.

Commit ab77c7d

Browse files
committed
fix lint
1 parent bef7c33 commit ab77c7d

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

app/menu.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ function createMenu(opts) {
4949
}
5050
},
5151
{
52-
label: `${toggleAppAcceleratorRegistered ? 'Disable' : 'Enable'} Global Shortcut`,
52+
label: `${toggleAppAcceleratorRegistered
53+
? 'Disable'
54+
: 'Enable'} Global Shortcut`,
5355
click() {
5456
toggleGlobalShortcut({
5557
name: 'toggleApp',
@@ -182,9 +184,8 @@ function createMenu(opts) {
182184
},
183185
{
184186
label: 'Toggle Developer Tools',
185-
accelerator: process.platform === 'darwin'
186-
? 'Alt+Command+I'
187-
: 'Ctrl+Shift+I',
187+
accelerator:
188+
process.platform === 'darwin' ? 'Alt+Command+I' : 'Ctrl+Shift+I',
188189
click(item, focusedWindow) {
189190
if (focusedWindow) focusedWindow.webContents.toggleDevTools()
190191
}

0 commit comments

Comments
 (0)