This commit is contained in:
Horis
2024-08-08 09:19:09 +08:00
parent bd80ce7fb0
commit fcfbcb387d

View File

@@ -762,7 +762,9 @@ object ReadBook : CoroutineScope by MainScope() {
if (book.bookUrl == ReadBook.book?.bookUrl
&& cList.size > chapterSize
) {
appDb.bookChapterDao.delByBook(book.bookUrl)
appDb.bookChapterDao.insert(*cList.toTypedArray())
saveRead()
chapterSize = cList.size
nextTextChapter ?: loadContent(durChapterIndex + 1)
}