diff --git a/app/src/main/java/io/legado/app/model/webBook/BookChapterList.kt b/app/src/main/java/io/legado/app/model/webBook/BookChapterList.kt index 82f06e54a..8c92ae7ed 100644 --- a/app/src/main/java/io/legado/app/model/webBook/BookChapterList.kt +++ b/app/src/main/java/io/legado/app/model/webBook/BookChapterList.kt @@ -100,6 +100,11 @@ object BookChapterList { item.index = index } 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) { book.lastCheckCount = chapterList.size - book.totalChapterNum }