diff options
| author | Oskar Nyberg <oskar@mullvad.net> | 2021-12-28 16:34:37 +0100 |
|---|---|---|
| committer | Oskar Nyberg <oskar@mullvad.net> | 2022-01-03 15:20:23 +0100 |
| commit | 3e6b2c2a92c07158e22b487654cb5c4aa5fe7dde (patch) | |
| tree | d129581c22420e15378e07337a386b3e79f601ab | |
| parent | 08639b4cdb2a55c11d603e25ea87335876fa9951 (diff) | |
| download | mullvadvpn-3e6b2c2a92c07158e22b487654cb5c4aa5fe7dde.tar.xz mullvadvpn-3e6b2c2a92c07158e22b487654cb5c4aa5fe7dde.zip | |
Fix window visibility check
| -rw-r--r-- | CHANGELOG.md | 1 | ||||
| -rw-r--r-- | gui/src/main/window-controller.ts | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 44896ce283..cb12cc7807 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -71,6 +71,7 @@ Line wrap the file at 100 chars. Th - Fix daemon not starting if all excluded app paths reside on non-existent/unmounted volumes. - Remove tray icon of current running app version when upgrading. - Allow Mullvad wireguard-nt tunnels to work simultaneously with other wg-nt tunnels. +- Fix notifications on Windows not showing if window is unpinned and hidden. #### Android - Fix Quick Settings tile showing wrong state in certain scenarios. diff --git a/gui/src/main/window-controller.ts b/gui/src/main/window-controller.ts index c4d6b47232..09250f4f8c 100644 --- a/gui/src/main/window-controller.ts +++ b/gui/src/main/window-controller.ts @@ -179,7 +179,7 @@ export default class WindowController { } public isVisible(): boolean { - return this.window?.isVisible() ?? false; + return this.window !== undefined && this.window.isVisible() && !this.window.isMinimized(); } public updatePosition() { |
