diff options
author | Stefan Malzner <stefan@adlk.io> | 2017-10-24 17:03:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-24 17:03:29 +0200 |
commit | 824e75d06cabb98ad4601cbb0f508a291ac2351c (patch) | |
tree | c38f1403f346ebe228582b1368e3ac1a1ab211e9 /src/lib/Tray.js | |
parent | fix(Shortcut): Add ctrl+= alias for zoom in (diff) | |
parent | Merge pull request #99 from meetfranz/feature/win-multiple-tray-icons (diff) | |
download | ferdium-app-824e75d06cabb98ad4601cbb0f508a291ac2351c.tar.gz ferdium-app-824e75d06cabb98ad4601cbb0f508a291ac2351c.tar.zst ferdium-app-824e75d06cabb98ad4601cbb0f508a291ac2351c.zip |
Merge branch 'develop' into feature/zoomin-alias
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 | { |