diff --git a/app/src/main/java/io/legado/app/ui/main/bookshelf/books/BooksAdapterList.kt b/app/src/main/java/io/legado/app/ui/main/bookshelf/books/BooksAdapterList.kt index a91bf4e53..f0f15c27d 100644 --- a/app/src/main/java/io/legado/app/ui/main/bookshelf/books/BooksAdapterList.kt +++ b/app/src/main/java/io/legado/app/ui/main/bookshelf/books/BooksAdapterList.kt @@ -28,16 +28,14 @@ class BooksAdapterList(context: Context, private val callBack: CallBack) : iv_cover.load(item.getDisplayCover(), item.name, item.author) upRefresh(this, item) } else { + tv_read.text = item.durChapterTitle + tv_last.text = item.latestChapterTitle bundle.keySet().forEach { when (it) { "name" -> tv_name.text = item.name "author" -> tv_author.text = item.author "cover" -> iv_cover.load(item.getDisplayCover(), item.name, item.author) "refresh" -> upRefresh(this, item) - else -> { - tv_read.text = item.durChapterTitle - tv_last.text = item.latestChapterTitle - } } } }