修复滚动时我的界面图标消失的bug

pull/349/head
gedoor 4 years ago
parent fb97833526
commit 5da31b25a2
  1. 2
      app/src/main/java/io/legado/app/ui/widget/prefs/Preference.kt

@ -66,7 +66,7 @@ class Preference(context: Context, attrs: AttributeSet) :
}
val iconView = it.findViewById(R.id.preference_icon)
if (iconView is ImageView) {
iconView.isVisible = icon != null && icon.isVisible
iconView.isVisible = icon != null
iconView.setImageDrawable(icon)
iconView.setColorFilter(context.accentColor)
}

Loading…
Cancel
Save