Make source preferences' titles multiline (#9644)

Make source preferences' titles multiline.
This commit is contained in:
Alessandro Jean 2023-06-26 15:05:22 -03:00 committed by GitHub
parent a07e0df815
commit 8a5e443ca5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -152,6 +152,7 @@ class SourcePreferencesFragment : PreferenceFragmentCompat() {
source.setupPreferenceScreen(sourceScreen)
sourceScreen.forEach { pref ->
pref.isIconSpaceReserved = false
pref.isSingleLineTitle = false
if (pref is DialogPreference) {
pref.dialogTitle = pref.title
}