From 5b9b0c76a0378fa06de22cb42efa1d9bf8cb02a3 Mon Sep 17 00:00:00 2001 From: Stefan Date: Tue, 24 Oct 2017 16:42:51 +0200 Subject: fix(Windows): Fix multiple system tray icons when opening/closing Franz --- src/lib/Tray.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/lib/Tray.js') 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 { } show() { + if (this.trayIcon) return; + this.trayIcon = new Tray(this._getAsset('tray', INDICATOR_TRAY_PLAIN)); const trayMenuTemplate = [ { -- cgit v1.2.3-54-g00ecf