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>
This commit is contained in:
Vlad Loktionov 2022-03-20 18:05:58 +03:00 committed by Jason A. Donenfeld
parent 32a2ebb66f
commit 866fd35df5

View File

@ -7,23 +7,27 @@
<CheckBoxPreference <CheckBoxPreference
android:defaultValue="false" android:defaultValue="false"
android:key="restore_on_boot" android:key="restore_on_boot"
android:singleLineTitle="false"
android:summaryOff="@string/restore_on_boot_summary_off" android:summaryOff="@string/restore_on_boot_summary_off"
android:summaryOn="@string/restore_on_boot_summary_on" android:summaryOn="@string/restore_on_boot_summary_on"
android:title="@string/restore_on_boot_title" /> android:title="@string/restore_on_boot_title" />
<com.wireguard.android.preference.ZipExporterPreference android:key="zip_exporter" /> <com.wireguard.android.preference.ZipExporterPreference android:key="zip_exporter" />
<Preference <Preference
android:key="log_viewer" android:key="log_viewer"
android:singleLineTitle="false"
android:summary="@string/log_viewer_pref_summary" android:summary="@string/log_viewer_pref_summary"
android:title="@string/log_viewer_pref_title" /> android:title="@string/log_viewer_pref_title" />
<CheckBoxPreference <CheckBoxPreference
android:defaultValue="false" android:defaultValue="false"
android:key="dark_theme" android:key="dark_theme"
android:singleLineTitle="false"
android:summaryOff="@string/dark_theme_summary_off" android:summaryOff="@string/dark_theme_summary_off"
android:summaryOn="@string/dark_theme_summary_on" android:summaryOn="@string/dark_theme_summary_on"
android:title="@string/dark_theme_title" /> android:title="@string/dark_theme_title" />
<CheckBoxPreference <CheckBoxPreference
android:defaultValue="false" android:defaultValue="false"
android:key="multiple_tunnels" android:key="multiple_tunnels"
android:singleLineTitle="false"
android:summaryOff="@string/multiple_tunnels_summary_off" android:summaryOff="@string/multiple_tunnels_summary_off"
android:summaryOn="@string/multiple_tunnels_summary_on" android:summaryOn="@string/multiple_tunnels_summary_on"
android:title="@string/multiple_tunnels_title" /> android:title="@string/multiple_tunnels_title" />
@ -32,6 +36,7 @@
<CheckBoxPreference <CheckBoxPreference
android:defaultValue="false" android:defaultValue="false"
android:key="allow_remote_control_intents" android:key="allow_remote_control_intents"
android:singleLineTitle="false"
android:summaryOff="@string/allow_remote_control_intents_summary_off" android:summaryOff="@string/allow_remote_control_intents_summary_off"
android:summaryOn="@string/allow_remote_control_intents_summary_on" android:summaryOn="@string/allow_remote_control_intents_summary_on"
android:title="@string/allow_remote_control_intents_title" /> android:title="@string/allow_remote_control_intents_title" />