From 73451e04737dec2300765cfe84475c6789bf6f2b Mon Sep 17 00:00:00 2001 From: Horis <821938089@qq.com> Date: Sat, 29 Oct 2022 19:19:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../app/ui/main/bookshelf/style1/books/BooksAdapterList.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/ui/main/bookshelf/style1/books/BooksAdapterList.kt b/app/src/main/java/io/legado/app/ui/main/bookshelf/style1/books/BooksAdapterList.kt index e3162a4aa..453ee5fdd 100644 --- a/app/src/main/java/io/legado/app/ui/main/bookshelf/style1/books/BooksAdapterList.kt +++ b/app/src/main/java/io/legado/app/ui/main/bookshelf/style1/books/BooksAdapterList.kt @@ -65,7 +65,7 @@ class BooksAdapterList(context: Context, private val callBack: CallBack) : } 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() } else { binding.tvLastUpdateTime.text = ""