@ -36,10 +36,12 @@ class NameListPreference(context: Context, attrs: AttributeSet) : ListPreference
)
if (v is TextView) {
v.text = entry
if (isBottomBackground) {
val bgColor = context.bottomBackground
val pTextColor = context.getPrimaryTextColor(ColorUtils.isColorLight(bgColor))
v.setTextColor(pTextColor)
}
super.onBindViewHolder(holder)