mirror of
https://github.com/gedoor/legado.git
synced 2024-07-06 23:47:49 +08:00
Merge pull request #1486 from ybasefinal/master
将已缓存章节加粗显示修改为未缓存章节加粗显示,更易于辨认
This commit is contained in:
commit
9d5a5f9ddc
@ -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…
Reference in New Issue
Block a user