|
|
@@ -93,7 +93,7 @@ object ReadBook : CoroutineScope by MainScope() {
|
|
|
readRecord.readTime = appDb.readRecordDao.getReadTime(book.name) ?: 0
|
|
|
chapterSize = appDb.bookChapterDao.getChapterCount(book.bookUrl)
|
|
|
contentProcessor = ContentProcessor.get(book)
|
|
|
- durChapterIndex = min(book.durChapterIndex, chapterSize - 1).coerceAtLeast(0)
|
|
|
+ durChapterIndex = book.durChapterIndex
|
|
|
durChapterPos = book.durChapterPos
|
|
|
isLocalBook = book.isLocal
|
|
|
clearTextChapter()
|