|
@@ -16,6 +16,7 @@ import androidx.preference.PreferenceScreen
|
|
|
import androidx.preference.SwitchPreferenceCompat
|
|
|
import eu.kanade.tachiyomi.R
|
|
|
import eu.kanade.tachiyomi.util.system.getResourceColor
|
|
|
+import eu.kanade.tachiyomi.widget.preference.AdaptiveTitlePreferenceCategory
|
|
|
import eu.kanade.tachiyomi.widget.preference.IntListPreference
|
|
|
import eu.kanade.tachiyomi.widget.preference.SwitchPreferenceCategory
|
|
|
import eu.kanade.tachiyomi.widget.preference.SwitchSettingsPreference
|
|
@@ -77,7 +78,7 @@ inline fun PreferenceGroup.multiSelectListPreference(block: (@DSL MultiSelectLis
|
|
|
}
|
|
|
|
|
|
inline fun PreferenceScreen.preferenceCategory(block: (@DSL PreferenceCategory).() -> Unit): PreferenceCategory {
|
|
|
- return addThenInit(PreferenceCategory(context), block)
|
|
|
+ return addThenInit(AdaptiveTitlePreferenceCategory(context), block)
|
|
|
}
|
|
|
|
|
|
inline fun PreferenceScreen.preferenceScreen(block: (@DSL PreferenceScreen).() -> Unit): PreferenceScreen {
|