diff options
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) { |
