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