diff options
| author | Oskar Nyberg <oskar@mullvad.net> | 2024-03-20 08:37:50 +0100 |
|---|---|---|
| committer | Oskar Nyberg <oskar@mullvad.net> | 2024-03-21 10:35:39 +0100 |
| commit | 0ce2e108b1030b7375e8962e76ee18ef938d53bc (patch) | |
| tree | 7358f6934c8d8d95d7d0dd43a44f2c5dc531bf35 /gui/src/main/user-interface.ts | |
| parent | b5c32c96ac8994964e214b0018cba630811a532a (diff) | |
| download | mullvadvpn-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.ts | 4 |
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) { |
