fix: Allow HIDE_TOP_TOOLBAR preference text to wrap (#439)

Previously it was constrained to a single line, and would clip on narrow
devices.

Fixes #436
This commit is contained in:
Nik Clayton 2024-02-14 11:31:21 +01:00 committed by GitHub
parent 2d03e6cf7b
commit e71e0df324
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -142,6 +142,7 @@ class PreferencesFragment : PreferenceFragmentCompat() {
setDefaultValue(false)
key = PrefKeys.HIDE_TOP_TOOLBAR
setTitle(R.string.pref_title_hide_top_toolbar)
isSingleLineTitle = false
}
switchPreference {