Horis %!s(int64=2) %!d(string=hai) anos
pai
achega
1947f18c52

+ 1 - 0
app/src/main/java/io/legado/app/ui/book/read/ReadBookViewModel.kt

@@ -182,6 +182,7 @@ class ReadBookViewModel(application: Application) : BaseViewModel(application) {
                     appDb.bookDao.update(book)
                     appDb.bookDao.update(book)
                     ReadBook.chapterSize = it.size
                     ReadBook.chapterSize = it.size
                     ReadBook.simulatedChapterSize = book.simulatedTotalChapterNum()
                     ReadBook.simulatedChapterSize = book.simulatedTotalChapterNum()
+                    ReadBook.clearTextChapter()
                 }
                 }
                 return true
                 return true
             }.onFailure {
             }.onFailure {