Make source preferences' titles multiline (#9644)
Make source preferences' titles multiline.
This commit is contained in:
parent
a07e0df815
commit
8a5e443ca5
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user