mirror of
https://github.com/gedoor/legado.git
synced 2024-07-06 23:47:49 +08:00
优化
This commit is contained in:
parent
8375fac28a
commit
1393a45d45
@ -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…
Reference in New Issue
Block a user