|
|
@ -65,7 +65,7 @@ class BooksAdapterList(context: Context, private val callBack: CallBack) : |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private fun upLastUpdateTime(binding: ItemBookshelfListBinding, item: Book) { |
|
|
|
private fun upLastUpdateTime(binding: ItemBookshelfListBinding, item: Book) { |
|
|
|
if (AppConfig.showLastUpdateTime && !item.isLocal) { |
|
|
|
if (!item.isLocal && item.canUpdate && AppConfig.showLastUpdateTime) { |
|
|
|
binding.tvLastUpdateTime.text = item.latestChapterTime.toTimeAgo() |
|
|
|
binding.tvLastUpdateTime.text = item.latestChapterTime.toTimeAgo() |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
binding.tvLastUpdateTime.text = "" |
|
|
|
binding.tvLastUpdateTime.text = "" |
|
|
|