summaryrefslogtreecommitdiffhomepage
path: root/gui/src/main
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2019-04-02 14:28:02 +0200
committerAndrej Mihajlov <and@mullvad.net>2019-04-02 14:28:02 +0200
commitae8c5013b27693b881e94482f34fb19112aa1a04 (patch)
tree14666ea042d4d94e41d081d2a7dfbb652702830f /gui/src/main
parent2d340b49888068018539ddb85ff9e3b510b7355b (diff)
parent62e72f66c9427bb23728384ea0f07b1fff850af9 (diff)
downloadmullvadvpn-ae8c5013b27693b881e94482f34fb19112aa1a04.tar.xz
mullvadvpn-ae8c5013b27693b881e94482f34fb19112aa1a04.zip
Merge branch 'update-tray-icon-on-daemon-disconnect'
Diffstat (limited to 'gui/src/main')
-rw-r--r--gui/src/main/index.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/gui/src/main/index.ts b/gui/src/main/index.ts
index 6080c80af2..2d048ab2c3 100644
--- a/gui/src/main/index.ts
+++ b/gui/src/main/index.ts
@@ -446,6 +446,9 @@ class ApplicationMain {
// stop periodic updates
this.stopLatestVersionPeriodicUpdates();
+ // update the tray icon to indicate that the computer is not secure anymore
+ this.updateTrayIcon({ state: 'disconnected' }, false);
+
// notify renderer process
if (this.windowController) {
IpcMainEventChannel.daemonDisconnected.notify(