mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-21 11:51:52 +01:00
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.
This commit is contained in:
parent
d1c956401c
commit
eeeaae4570
@ -147,7 +147,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…
Reference in New Issue
Block a user