diff options
| author | Oskar Nyberg <oskar@mullvad.net> | 2023-04-11 18:57:31 +0200 |
|---|---|---|
| committer | Oskar Nyberg <oskar@mullvad.net> | 2023-04-17 14:14:07 +0200 |
| commit | 791b1c57434cc992214ad98990d7279e4fdcc428 (patch) | |
| tree | 3fc966e190e451105771689019ce36811c31ab5c | |
| parent | 62c38b628bfae681d2841a264e6d1de44ddf6c32 (diff) | |
| download | mullvadvpn-791b1c57434cc992214ad98990d7279e4fdcc428.tar.xz mullvadvpn-791b1c57434cc992214ad98990d7279e4fdcc428.zip | |
Fix notification evaluation logic error
| -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 cbc1afd66b..04cb8afcb9 100644 --- a/gui/src/main/notification-controller.ts +++ b/gui/src/main/notification-controller.ts @@ -287,7 +287,7 @@ export default class NotificationController { return NotificationSuppressReason.windowVisible; } else if ( !areSystemNotificationsEnabled && - notification.severity >= SystemNotificationSeverityType.low + notification.severity <= SystemNotificationSeverityType.low ) { return NotificationSuppressReason.preference; } else if (this.suppressDueToAlreadyPresented(notification)) { |
