From eeeaae4570833e9b94e8fbef13bb5055f518c38f Mon Sep 17 00:00:00 2001 From: Alessandro Jean <14254807+alessandrojean@users.noreply.github.com> Date: Sat, 19 Aug 2023 17:47:20 -0300 Subject: [PATCH] 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. --- .../ui/browse/extension/details/SourcePreferencesScreen.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/browse/extension/details/SourcePreferencesScreen.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/browse/extension/details/SourcePreferencesScreen.kt index 862f810c52..78aa371097 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/browse/extension/details/SourcePreferencesScreen.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/browse/extension/details/SourcePreferencesScreen.kt @@ -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 }