Only set the dialog title if not already set in the extension (#9858)
Only set the dialog title if not already set in the extension. (cherry picked from commit eeeaae4570833e9b94e8fbef13bb5055f518c38f)
This commit is contained in:
parent
3df6435f4b
commit
3b31442a8f
@ -163,7 +163,7 @@ class SourcePreferencesFragment : PreferenceFragmentCompat() {
|
|||||||
sourceScreen.forEach { pref ->
|
sourceScreen.forEach { pref ->
|
||||||
pref.isIconSpaceReserved = false
|
pref.isIconSpaceReserved = false
|
||||||
pref.isSingleLineTitle = false
|
pref.isSingleLineTitle = false
|
||||||
if (pref is DialogPreference) {
|
if (pref is DialogPreference && pref.dialogTitle.isNullOrEmpty()) {
|
||||||
pref.dialogTitle = pref.title
|
pref.dialogTitle = pref.title
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user