pull/1500/head
gedoor 3 years ago
parent 8375fac28a
commit 1393a45d45
  1. 1
      app/src/main/java/io/legado/app/ui/book/toc/ChapterListAdapter.kt

@ -75,7 +75,6 @@ class ChapterListAdapter(context: Context, val callback: Callback) :
private fun upHasCache(binding: ItemChapterListBinding, isDur: Boolean, cached: Boolean) = private fun upHasCache(binding: ItemChapterListBinding, isDur: Boolean, cached: Boolean) =
binding.apply { binding.apply {
tvChapterName.paint.isFakeBoldText = !cached
ivChecked.setImageResource(R.drawable.ic_outline_cloud_24) ivChecked.setImageResource(R.drawable.ic_outline_cloud_24)
ivChecked.visible(!cached) ivChecked.visible(!cached)
if (isDur) { if (isDur) {

Loading…
Cancel
Save