diff options
author | Stefan <stefan@adlk.io> | 2017-10-24 16:42:51 +0200 |
---|---|---|
committer | Stefan <stefan@adlk.io> | 2017-10-24 16:42:51 +0200 |
commit | 5b9b0c76a0378fa06de22cb42efa1d9bf8cb02a3 (patch) | |
tree | b17a283fc032679c384a4f1cad88514e5c196ed7 /src/lib/Tray.js | |
parent | Merge pull request #98 from meetfranz/feature/dev-mode-notice (diff) | |
download | ferdium-app-5b9b0c76a0378fa06de22cb42efa1d9bf8cb02a3.tar.gz ferdium-app-5b9b0c76a0378fa06de22cb42efa1d9bf8cb02a3.tar.zst ferdium-app-5b9b0c76a0378fa06de22cb42efa1d9bf8cb02a3.zip |
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 | { |