Merge pull request #1486 from ybasefinal/master

将已缓存章节加粗显示修改为未缓存章节加粗显示,更易于辨认
pull/1487/head
kunfei 3 years ago committed by GitHub
commit 9d5a5f9ddc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/src/main/java/io/legado/app/ui/book/toc/ChapterListAdapter.kt

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

Loading…
Cancel
Save