pull/94/head
kunfei 5 years ago
parent 64cb64dc6e
commit 4f3239779f
  1. 4
      app/src/main/java/io/legado/app/ui/main/bookshelf/books/BooksDiffCallBack.kt

@ -56,8 +56,10 @@ class BooksDiffCallBack(private val oldItems: List<Book>, private val newItems:
bundle.putString("cover", null) bundle.putString("cover", null)
if (oldItem.getUnreadChapterNum() != newItem.getUnreadChapterNum() if (oldItem.getUnreadChapterNum() != newItem.getUnreadChapterNum()
|| oldItem.lastCheckCount != newItem.lastCheckCount || oldItem.lastCheckCount != newItem.lastCheckCount
) ) {
bundle.putString("refresh", null) bundle.putString("refresh", null)
}
if (bundle.isEmpty) { if (bundle.isEmpty) {
return null return null
} }

Loading…
Cancel
Save