diff options
author | Stefan Malzner <stefan@adlk.io> | 2017-10-24 16:44:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-24 16:44:41 +0200 |
commit | 12bb9c2c360433a9ed818e067f5ce5757f1d945d (patch) | |
tree | b17a283fc032679c384a4f1cad88514e5c196ed7 /src/lib/Tray.js | |
parent | Merge pull request #98 from meetfranz/feature/dev-mode-notice (diff) | |
parent | fix(Windows): Fix multiple system tray icons when opening/closing Franz (diff) | |
download | ferdium-app-12bb9c2c360433a9ed818e067f5ce5757f1d945d.tar.gz ferdium-app-12bb9c2c360433a9ed818e067f5ce5757f1d945d.tar.zst ferdium-app-12bb9c2c360433a9ed818e067f5ce5757f1d945d.zip |
Merge pull request #99 from meetfranz/feature/win-multiple-tray-icons
fix(Windows): Fix multiple system tray icons when opening/closing Franz
Diffstat (limited to 'src/lib/Tray.js')
-rw-r--r-- | src/lib/Tray.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/Tray.js b/src/lib/Tray.js index ca6131c0c..67150971e 100644 --- a/src/lib/Tray.js +++ b/src/lib/Tray.js | |||
@@ -14,6 +14,8 @@ export default class TrayIcon { | |||
14 | } | 14 | } |
15 | 15 | ||
16 | show() { | 16 | show() { |
17 | if (this.trayIcon) return; | ||
18 | |||
17 | this.trayIcon = new Tray(this._getAsset('tray', INDICATOR_TRAY_PLAIN)); | 19 | this.trayIcon = new Tray(this._getAsset('tray', INDICATOR_TRAY_PLAIN)); |
18 | const trayMenuTemplate = [ | 20 | const trayMenuTemplate = [ |
19 | { | 21 | { |