From e8c105cddc6ffa2e33f302be1ebf38bf896d6aa8 Mon Sep 17 00:00:00 2001 From: kunfei Date: Wed, 5 Feb 2020 13:41:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/io/legado/app/model/webBook/BookChapterList.kt | 5 +++++ 1 file changed, 5 insertions(+) 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 }