summaryrefslogtreecommitdiffhomepage
path: root/ui/src/main/res/xml/preferences.xml
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-03-09 10:01:54 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2020-03-09 10:02:00 -0600
commitd62526fde6566b6a51ccc2a3f2095ea6d6584fd6 (patch)
tree9fc4c71fb0e87066bfe54b957d6ba3d756f87bee /ui/src/main/res/xml/preferences.xml
parent134f9c014e08e07eab65ff80b00f9ff5d1f36957 (diff)
WgQuickBackend: by default use single-tunnel mode like GoBackend, but add option
Note that this currently doesn't play well with people activating wg-quick tunnels from outside the app. Those tunnels won't be deactivated. But presumably that's desired behavior anyway, considering people are mucking around at the command line. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'ui/src/main/res/xml/preferences.xml')
-rw-r--r--ui/src/main/res/xml/preferences.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/ui/src/main/res/xml/preferences.xml b/ui/src/main/res/xml/preferences.xml
index 9c09ae89..6899edce 100644
--- a/ui/src/main/res/xml/preferences.xml
+++ b/ui/src/main/res/xml/preferences.xml
@@ -8,6 +8,12 @@
android:title="@string/restore_on_boot_title" />
<com.wireguard.android.preference.ModuleDownloaderPreference android:key="module_downloader" />
<com.wireguard.android.preference.ToolsInstallerPreference android:key="tools_installer" />
+ <CheckBoxPreference
+ android:defaultValue="false"
+ android:key="multiple_tunnels"
+ android:summaryOff="@string/multiple_tunnels_summary_off"
+ android:summaryOn="@string/multiple_tunnels_summary_on"
+ android:title="@string/multiple_tunnels_title" />
<com.wireguard.android.preference.ZipExporterPreference />
<com.wireguard.android.preference.LogExporterPreference />
<CheckBoxPreference