summaryrefslogtreecommitdiffhomepage
path: root/gui/src
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2019-09-23 16:39:47 +0200
committerAndrej Mihajlov <and@mullvad.net>2019-09-25 10:52:01 +0200
commit1066d73dc7c3b0d6948dc0a7d9288f59382c6f9a (patch)
treef835d3d9abf02481e5bfd94534d43e4d674320da /gui/src
parentfa7c1aca5568c1ce4f056c61d5edf5bcd620616d (diff)
downloadmullvadvpn-1066d73dc7c3b0d6948dc0a7d9288f59382c6f9a.tar.xz
mullvadvpn-1066d73dc7c3b0d6948dc0a7d9288f59382c6f9a.zip
Document gui-settings
Diffstat (limited to 'gui/src')
-rw-r--r--gui/src/shared/gui-settings-state.ts14
1 files changed, 14 insertions, 0 deletions
diff --git a/gui/src/shared/gui-settings-state.ts b/gui/src/shared/gui-settings-state.ts
index c99ac10506..043892f833 100644
--- a/gui/src/shared/gui-settings-state.ts
+++ b/gui/src/shared/gui-settings-state.ts
@@ -1,9 +1,23 @@
+// This is a special value which is when contained within IGuiSettingsState.preferredLocale
+// indicates that app should use the active operating system locale to determine the UI language.
export const SYSTEM_PREFERRED_LOCALE_KEY = 'system';
export interface IGuiSettingsState {
+ // A user interface locale.
+ // Use 'system' to opt-in for active locale set in the operating system
+ // (see SYSTEM_PREFERRED_LOCALE_KEY)
preferredLocale: string;
+
+ // Enable or disable system notifications on tunnel state etc.
enableSystemNotifications: boolean;
+
+ // Tells the app to activate auto-connect feature in the mullvad-daemon, but only if the app is
+ // set to auto-start with the system.
autoConnect: boolean;
+
+ // Tells the app to use monochromatic set of icons for tray.
monochromaticIcon: boolean;
+
+ // Tells the app to hide the main window on start.
startMinimized: boolean;
}