pull/1881/head
kunfei 3 years ago
parent d6f571277f
commit 82f4528390
  1. 10
      app/src/main/java/io/legado/app/lib/prefs/NameListPreference.kt

@ -25,14 +25,8 @@ class NameListPreference(context: Context, attrs: AttributeSet) : ListPreference
override fun onBindViewHolder(holder: PreferenceViewHolder) {
val v = Preference.bindView<TextView>(
context,
holder,
icon,
title,
summary,
widgetLayoutResource,
R.id.text_view,
isBottomBackground = isBottomBackground
context, holder, icon, title, summary, widgetLayoutResource,
R.id.text_view, isBottomBackground = isBottomBackground
)
if (v is TextView) {
v.text = entry

Loading…
Cancel
Save