优化
This commit is contained in:
1 parent
73c24890b8
commit
fc9cbc1034
1 file changed
+1
-1
@@ -65,7 +65,7 @@ class BooksAdapterList(context: Context, private val callBack: CallBack) :
|
||||
}
|
||||
|
||||
private fun upLastUpdateTime(binding: ItemBookshelfListBinding, item: Book) {
|
||||
if (!item.isLocal && item.canUpdate && AppConfig.showLastUpdateTime) {
|
||||
if (AppConfig.showLastUpdateTime && !item.isLocal && item.canUpdate) {
|
||||
binding.tvLastUpdateTime.text = item.latestChapterTime.toTimeAgo()
|
||||
} else {
|
||||
binding.tvLastUpdateTime.text = ""
|
||||
|
||||
Reference in new issue
Block a user