aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/Tray.js
diff options
context:
space:
mode:
authorLibravatar Stefan <stefan@adlk.io>2017-10-24 16:42:51 +0200
committerLibravatar Stefan <stefan@adlk.io>2017-10-24 16:42:51 +0200
commit5b9b0c76a0378fa06de22cb42efa1d9bf8cb02a3 (patch)
treeb17a283fc032679c384a4f1cad88514e5c196ed7 /src/lib/Tray.js
parentMerge pull request #98 from meetfranz/feature/dev-mode-notice (diff)
downloadferdium-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.js2
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 {