summaryrefslogtreecommitdiffhomepage
path: root/gui/src/main/user-interface.ts
diff options
context:
space:
mode:
authorOskar Nyberg <oskar@mullvad.net>2024-03-20 08:37:50 +0100
committerOskar Nyberg <oskar@mullvad.net>2024-03-21 10:35:39 +0100
commit0ce2e108b1030b7375e8962e76ee18ef938d53bc (patch)
tree7358f6934c8d8d95d7d0dd43a44f2c5dc531bf35 /gui/src/main/user-interface.ts
parentb5c32c96ac8994964e214b0018cba630811a532a (diff)
downloadmullvadvpn-0ce2e108b1030b7375e8962e76ee18ef938d53bc.tar.xz
mullvadvpn-0ce2e108b1030b7375e8962e76ee18ef938d53bc.zip
Add notification icon logging
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) {