pull/32/head
kunfei 5 years ago
parent 634aa2f523
commit 030b450000
  1. 3
      app/src/main/java/io/legado/app/ui/main/bookshelf/BookshelfAdapter.kt

@ -27,8 +27,7 @@ class BookshelfAdapter(private val callBack: CallBack) :
oldItem.bookUrl == newItem.bookUrl oldItem.bookUrl == newItem.bookUrl
override fun areContentsTheSame(oldItem: Book, newItem: Book): Boolean = override fun areContentsTheSame(oldItem: Book, newItem: Book): Boolean =
oldItem.bookUrl == newItem.bookUrl oldItem.durChapterTitle == newItem.durChapterTitle
&& oldItem.durChapterTitle == newItem.durChapterTitle
&& oldItem.latestChapterTitle == newItem.latestChapterTitle && oldItem.latestChapterTitle == newItem.latestChapterTitle
&& oldItem.durChapterTime == newItem.durChapterTime && oldItem.durChapterTime == newItem.durChapterTime
&& oldItem.lastCheckTime == newItem.lastCheckTime && oldItem.lastCheckTime == newItem.lastCheckTime

Loading…
Cancel
Save