From 9f906c5cf9c842648409d423a132c78fb91ba5cf Mon Sep 17 00:00:00 2001 From: Horis <821938089@qq.com> Date: Sat, 29 Oct 2022 19:25:35 +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 453ee5fdd..ffeced7f9 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 (!item.isLocal && item.canUpdate && AppConfig.showLastUpdateTime) { + if (AppConfig.showLastUpdateTime && !item.isLocal && item.canUpdate) { binding.tvLastUpdateTime.text = item.latestChapterTime.toTimeAgo() } else { binding.tvLastUpdateTime.text = ""