Skip to content

Commit 866fd35

Browse files
VladWinnerzx2c4
authored andcommitted
ui: word wrap settings headers
Apparently some translations make this wrap, which is bad. Signed-off-by: Vlad Loktionov <[email protected]> Signed-off-by: Jason A. Donenfeld <[email protected]>
1 parent 32a2ebb commit 866fd35

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ui/src/main/res/xml/preferences.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,27 @@
77
<CheckBoxPreference
88
android:defaultValue="false"
99
android:key="restore_on_boot"
10+
android:singleLineTitle="false"
1011
android:summaryOff="@string/restore_on_boot_summary_off"
1112
android:summaryOn="@string/restore_on_boot_summary_on"
1213
android:title="@string/restore_on_boot_title" />
1314
<com.wireguard.android.preference.ZipExporterPreference android:key="zip_exporter" />
1415
<Preference
1516
android:key="log_viewer"
17+
android:singleLineTitle="false"
1618
android:summary="@string/log_viewer_pref_summary"
1719
android:title="@string/log_viewer_pref_title" />
1820
<CheckBoxPreference
1921
android:defaultValue="false"
2022
android:key="dark_theme"
23+
android:singleLineTitle="false"
2124
android:summaryOff="@string/dark_theme_summary_off"
2225
android:summaryOn="@string/dark_theme_summary_on"
2326
android:title="@string/dark_theme_title" />
2427
<CheckBoxPreference
2528
android:defaultValue="false"
2629
android:key="multiple_tunnels"
30+
android:singleLineTitle="false"
2731
android:summaryOff="@string/multiple_tunnels_summary_off"
2832
android:summaryOn="@string/multiple_tunnels_summary_on"
2933
android:title="@string/multiple_tunnels_title" />
@@ -32,6 +36,7 @@
3236
<CheckBoxPreference
3337
android:defaultValue="false"
3438
android:key="allow_remote_control_intents"
39+
android:singleLineTitle="false"
3540
android:summaryOff="@string/allow_remote_control_intents_summary_off"
3641
android:summaryOn="@string/allow_remote_control_intents_summary_on"
3742
android:title="@string/allow_remote_control_intents_title" />

0 commit comments

Comments
 (0)