Make source preferences' titles multiline (#9644)
Make source preferences' titles multiline.
This commit is contained in:
parent
a07e0df815
commit
8a5e443ca5
1 changed files with 1 additions and 0 deletions
|
@ -152,6 +152,7 @@ class SourcePreferencesFragment : PreferenceFragmentCompat() {
|
||||||
source.setupPreferenceScreen(sourceScreen)
|
source.setupPreferenceScreen(sourceScreen)
|
||||||
sourceScreen.forEach { pref ->
|
sourceScreen.forEach { pref ->
|
||||||
pref.isIconSpaceReserved = false
|
pref.isIconSpaceReserved = false
|
||||||
|
pref.isSingleLineTitle = false
|
||||||
if (pref is DialogPreference) {
|
if (pref is DialogPreference) {
|
||||||
pref.dialogTitle = pref.title
|
pref.dialogTitle = pref.title
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue