feat: 修复bug

pull/238/head
gedoor 5 years ago
parent ef2d49eb58
commit fcf8028a59
  1. 4
      app/src/main/java/io/legado/app/ui/main/bookshelf/books/BooksDiffCallBack.kt

@ -47,8 +47,8 @@ class BooksDiffCallBack(private val oldItems: List<Book>, private val newItems:
if (oldItem.durChapterTitle != newItem.durChapterTitle) bundle.putString("dur", null) if (oldItem.durChapterTitle != newItem.durChapterTitle) bundle.putString("dur", null)
if (oldItem.latestChapterTitle != newItem.latestChapterTitle) bundle.putString("last", null) if (oldItem.latestChapterTitle != newItem.latestChapterTitle) bundle.putString("last", null)
if (oldItem.getDisplayCover() != newItem.getDisplayCover()) bundle.putString("cover", null) if (oldItem.getDisplayCover() != newItem.getDisplayCover()) bundle.putString("cover", null)
if (oldItem.lastCheckCount != newItem.lastCheckCount) bundle.putString("refresh", null) if (oldItem.lastCheckCount != newItem.lastCheckCount
if (oldItem.durChapterTime != newItem.durChapterTime || oldItem.durChapterTime != newItem.durChapterTime
|| oldItem.getUnreadChapterNum() != newItem.getUnreadChapterNum() || oldItem.getUnreadChapterNum() != newItem.getUnreadChapterNum()
|| oldItem.lastCheckCount != newItem.lastCheckCount || oldItem.lastCheckCount != newItem.lastCheckCount
) { ) {

Loading…
Cancel
Save