summaryrefslogtreecommitdiffhomepage
path: root/gui/src/main/user-interface.ts
diff options
context:
space:
mode:
authorOskar Nyberg <oskar@mullvad.net>2024-03-21 10:36:39 +0100
committerOskar Nyberg <oskar@mullvad.net>2024-03-21 10:36:39 +0100
commitb469ef65c4c8bde6b2dcf5f55f7fa4a8233d22d8 (patch)
tree7358f6934c8d8d95d7d0dd43a44f2c5dc531bf35 /gui/src/main/user-interface.ts
parent7c0baef67673bafd8195ae192e6ac90a63afb98f (diff)
parent0ce2e108b1030b7375e8962e76ee18ef938d53bc (diff)
downloadmullvadvpn-b469ef65c4c8bde6b2dcf5f55f7fa4a8233d22d8.tar.xz
mullvadvpn-b469ef65c4c8bde6b2dcf5f55f7fa4a8233d22d8.zip
Merge branch 'notification-dot-visible-when-there-are-no-notification-des-686'
Diffstat (limited to 'gui/src/main/user-interface.ts')
-rw-r--r--gui/src/main/user-interface.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/src/main/user-interface.ts b/gui/src/main/user-interface.ts
index ac308adc01..3d6e04f8e7 100644
--- a/gui/src/main/user-interface.ts
+++ b/gui/src/main/user-interface.ts
@@ -189,8 +189,8 @@ export default class UserInterface implements WindowControllerDelegate {
public updateTrayTheme = () => this.trayIconController?.updateTheme() ?? Promise.resolve();
public setMonochromaticIcon = (value: boolean) =>
this.trayIconController?.setMonochromaticIcon(value);
- public showNotificationIcon = (value: boolean) =>
- this.trayIconController?.showNotificationIcon(value);
+ public showNotificationIcon = (value: boolean, reason?: string) =>
+ this.trayIconController?.showNotificationIcon(value, reason);
public setWindowIcon = (icon: string) => this.windowController.window?.setIcon(icon);
public updateTrayIcon(tunnelState: TunnelState, blockWhenDisconnected: boolean) {