summaryrefslogtreecommitdiffhomepage
path: root/gui/src
diff options
context:
space:
mode:
authorOskar Nyberg <oskar@mullvad.net>2021-06-16 16:40:30 +0200
committerOskar Nyberg <oskar@mullvad.net>2021-06-17 10:39:23 +0200
commit12751b01f4278f8e1477de74b1f3cc41f7a9e4cf (patch)
treee33839bf2aa8a794b73cb0e7c7336933f81ac925 /gui/src
parent3fa72148086744fc8ee4a9e0a33470ffd2b0dab9 (diff)
downloadmullvadvpn-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.ts2
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 {