Only set the dialog title if not already set in the extension.

This commit is contained in:
Alessandro Jean 2023-08-19 15:57:42 -03:00
parent d1c956401c
commit b60770f9e1

View file

@ -147,7 +147,7 @@ class SourcePreferencesFragment : PreferenceFragmentCompat() {
sourceScreen.forEach { pref ->
pref.isIconSpaceReserved = false
pref.isSingleLineTitle = false
if (pref is DialogPreference) {
if (pref is DialogPreference && pref.dialogTitle.isNullOrEmpty()) {
pref.dialogTitle = pref.title
}