diff options
Diffstat (limited to 'src/lib/Tray.js')
-rw-r--r-- | src/lib/Tray.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/Tray.js b/src/lib/Tray.js index 192e24796..90974de3f 100644 --- a/src/lib/Tray.js +++ b/src/lib/Tray.js | |||
@@ -20,7 +20,7 @@ export default class TrayIcon { | |||
20 | this.trayIcon = new Tray(this._getAsset('tray', INDICATOR_TRAY_PLAIN)); | 20 | this.trayIcon = new Tray(this._getAsset('tray', INDICATOR_TRAY_PLAIN)); |
21 | const trayMenuTemplate = [ | 21 | const trayMenuTemplate = [ |
22 | { | 22 | { |
23 | label: 'Show Franz', | 23 | label: 'Show Ferdi', |
24 | click() { | 24 | click() { |
25 | if (app.mainWindow.isMinimized()) { | 25 | if (app.mainWindow.isMinimized()) { |
26 | app.mainWindow.restore(); | 26 | app.mainWindow.restore(); |
@@ -29,7 +29,7 @@ export default class TrayIcon { | |||
29 | app.mainWindow.focus(); | 29 | app.mainWindow.focus(); |
30 | }, | 30 | }, |
31 | }, { | 31 | }, { |
32 | label: 'Quit Franz', | 32 | label: 'Quit Ferdi', |
33 | click() { | 33 | click() { |
34 | app.quit(); | 34 | app.quit(); |
35 | }, | 35 | }, |
@@ -84,7 +84,7 @@ export default class TrayIcon { | |||
84 | } | 84 | } |
85 | 85 | ||
86 | _getAsset(type, asset) { | 86 | _getAsset(type, asset) { |
87 | let platform = process.platform; | 87 | let { platform } = process; |
88 | 88 | ||
89 | if (platform === 'darwin' && systemPreferences.isDarkMode()) { | 89 | if (platform === 'darwin' && systemPreferences.isDarkMode()) { |
90 | platform = `${platform}-dark`; | 90 | platform = `${platform}-dark`; |