From cca8943fe4db9ee717add9e61a7b5887f0fc6ce8 Mon Sep 17 00:00:00 2001 From: gedoor Date: Sat, 13 Feb 2021 23:14:44 +0800 Subject: [PATCH] edit PreferenceCategory.kt --- .../java/io/legado/app/ui/widget/prefs/PreferenceCategory.kt | 1 - 1 file changed, 1 deletion(-) 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()