diff options
| author | Oskar Nyberg <oskar@mullvad.net> | 2021-06-16 16:40:30 +0200 |
|---|---|---|
| committer | Oskar Nyberg <oskar@mullvad.net> | 2021-06-17 10:39:23 +0200 |
| commit | 12751b01f4278f8e1477de74b1f3cc41f7a9e4cf (patch) | |
| tree | e33839bf2aa8a794b73cb0e7c7336933f81ac925 /gui/src | |
| parent | 3fa72148086744fc8ee4a9e0a33470ffd2b0dab9 (diff) | |
| download | mullvadvpn-12751b01f4278f8e1477de74b1f3cc41f7a9e4cf.tar.xz mullvadvpn-12751b01f4278f8e1477de74b1f3cc41f7a9e4cf.zip | |
Disable notification action on persistent notifications on Windows
Diffstat (limited to 'gui/src')
| -rw-r--r-- | gui/src/main/notification-controller.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/src/main/notification-controller.ts b/gui/src/main/notification-controller.ts index 17343837d4..80eb14364a 100644 --- a/gui/src/main/notification-controller.ts +++ b/gui/src/main/notification-controller.ts @@ -123,7 +123,7 @@ export default class NotificationController { notification.on('action', () => this.performAction(systemNotification.action)); } notification.on('click', () => this.notificationControllerDelegate.openApp()); - } else { + } else if (!(process.platform === 'win32' && systemNotification.critical)) { if (systemNotification.action) { notification.on('click', () => this.performAction(systemNotification.action)); } else { |
