diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2019-07-01 14:14:11 +0200 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2019-07-01 14:14:11 +0200 |
| commit | e0ee0bdb63497328cce66994829c50acb2f4e121 (patch) | |
| tree | cdeaac8a81deb8ee2afa47ed39dc3fdd338e11f6 /gui/src | |
| parent | 6d6d74df30a031ce8a8db2602485917ac6ca66da (diff) | |
| download | mullvadvpn-e0ee0bdb63497328cce66994829c50acb2f4e121.tar.xz mullvadvpn-e0ee0bdb63497328cce66994829c50acb2f4e121.zip | |
Fix a bug in the notifications configuration loading
Diffstat (limited to 'gui/src')
| -rw-r--r-- | gui/src/main/gui-settings.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/src/main/gui-settings.ts b/gui/src/main/gui-settings.ts index 7e75d80e13..895781099e 100644 --- a/gui/src/main/gui-settings.ts +++ b/gui/src/main/gui-settings.ts @@ -60,7 +60,7 @@ export default class GuiSettings { this.stateValue.autoConnect = typeof settings.autoConnect === 'boolean' ? settings.autoConnect : true; this.stateValue.enableSystemNotifications = - settings.enableSystemNotifications === 'boolean' + typeof settings.enableSystemNotifications === 'boolean' ? settings.enableSystemNotifications : true; this.stateValue.monochromaticIcon = settings.monochromaticIcon || false; |
