diff --git a/app/src/main/java/io/legado/app/ui/widget/prefs/PreferenceCategory.kt b/app/src/main/java/io/legado/app/ui/widget/prefs/PreferenceCategory.kt index a21d0e1ce..c311e158c 100644 --- a/app/src/main/java/io/legado/app/ui/widget/prefs/PreferenceCategory.kt +++ b/app/src/main/java/io/legado/app/ui/widget/prefs/PreferenceCategory.kt @@ -28,7 +28,6 @@ class PreferenceCategory(context: Context, attrs: AttributeSet) : PreferenceCate if (view is TextView) { // && !view.isInEditMode view.text = title if (view.isInEditMode) return - view.setBackgroundColor(context.backgroundColor) view.setTextColor(context.accentColor) view.isVisible = title != null && title.isNotEmpty()