diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2019-04-02 14:28:02 +0200 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2019-04-02 14:28:02 +0200 |
| commit | ae8c5013b27693b881e94482f34fb19112aa1a04 (patch) | |
| tree | 14666ea042d4d94e41d081d2a7dfbb652702830f /gui/src/main | |
| parent | 2d340b49888068018539ddb85ff9e3b510b7355b (diff) | |
| parent | 62e72f66c9427bb23728384ea0f07b1fff850af9 (diff) | |
| download | mullvadvpn-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.ts | 3 |
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( |
