aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/src
diff options
context:
space:
mode:
authorVlad Loktionov <yobabay23@gmail.com>2022-03-20 18:05:58 +0300
committerJason A. Donenfeld <Jason@zx2c4.com>2022-03-20 22:28:14 -0600
commit866fd35df5943d0ed3fe4e78120b1c2efecc4b97 (patch)
tree437f32834572549675de07512c657ca3ac862308 /ui/src
parentui: exclude TunnelToggleActivity from recents (diff)
downloadwireguard-android-866fd35df5943d0ed3fe4e78120b1c2efecc4b97.tar.xz
wireguard-android-866fd35df5943d0ed3fe4e78120b1c2efecc4b97.zip
ui: word wrap settings headers
Apparently some translations make this wrap, which is bad. Signed-off-by: Vlad Loktionov <yobabay23@gmail.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'ui/src')
-rw-r--r--ui/src/main/res/xml/preferences.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/src/main/res/xml/preferences.xml b/ui/src/main/res/xml/preferences.xml
index 5ab5c790..5c9505d4 100644
--- a/ui/src/main/res/xml/preferences.xml
+++ b/ui/src/main/res/xml/preferences.xml
@@ -7,23 +7,27 @@
<CheckBoxPreference
android:defaultValue="false"
android:key="restore_on_boot"
+ android:singleLineTitle="false"
android:summaryOff="@string/restore_on_boot_summary_off"
android:summaryOn="@string/restore_on_boot_summary_on"
android:title="@string/restore_on_boot_title" />
<com.wireguard.android.preference.ZipExporterPreference android:key="zip_exporter" />
<Preference
android:key="log_viewer"
+ android:singleLineTitle="false"
android:summary="@string/log_viewer_pref_summary"
android:title="@string/log_viewer_pref_title" />
<CheckBoxPreference
android:defaultValue="false"
android:key="dark_theme"
+ android:singleLineTitle="false"
android:summaryOff="@string/dark_theme_summary_off"
android:summaryOn="@string/dark_theme_summary_on"
android:title="@string/dark_theme_title" />
<CheckBoxPreference
android:defaultValue="false"
android:key="multiple_tunnels"
+ android:singleLineTitle="false"
android:summaryOff="@string/multiple_tunnels_summary_off"
android:summaryOn="@string/multiple_tunnels_summary_on"
android:title="@string/multiple_tunnels_title" />
@@ -32,6 +36,7 @@
<CheckBoxPreference
android:defaultValue="false"
android:key="allow_remote_control_intents"
+ android:singleLineTitle="false"
android:summaryOff="@string/allow_remote_control_intents_summary_off"
android:summaryOn="@string/allow_remote_control_intents_summary_on"
android:title="@string/allow_remote_control_intents_title" />