瀏覽代碼

Make source preferences' titles multiline (#9644)

Make source preferences' titles multiline.
Alessandro Jean 1 年之前
父節點
當前提交
8a5e443ca5

+ 1 - 0
app/src/main/java/eu/kanade/tachiyomi/ui/browse/extension/details/SourcePreferencesScreen.kt

@@ -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
             }