pull/90/head^2
kunfei 5 years ago
parent 7c48e5b501
commit e8c105cddc
  1. 5
      app/src/main/java/io/legado/app/model/webBook/BookChapterList.kt

@ -100,6 +100,11 @@ object BookChapterList {
item.index = index item.index = index
} }
book.latestChapterTitle = chapterList.last().title book.latestChapterTitle = chapterList.last().title
if (book.durChapterIndex < chapterList.size) {
book.durChapterTitle = chapterList[book.durChapterIndex].title
} else {
book.durChapterTitle = book.latestChapterTitle
}
if (book.totalChapterNum < chapterList.size) { if (book.totalChapterNum < chapterList.size) {
book.lastCheckCount = chapterList.size - book.totalChapterNum book.lastCheckCount = chapterList.size - book.totalChapterNum
} }

Loading…
Cancel
Save