diff --git a/app/src/main/java/io/legado/app/ui/readbook/ReadBookViewModel.kt b/app/src/main/java/io/legado/app/ui/readbook/ReadBookViewModel.kt index 818f50810..c478aa1b2 100644 --- a/app/src/main/java/io/legado/app/ui/readbook/ReadBookViewModel.kt +++ b/app/src/main/java/io/legado/app/ui/readbook/ReadBookViewModel.kt @@ -182,6 +182,7 @@ class ReadBookViewModel(application: Application) : BaseViewModel(application) { bookData.value?.let { book -> book.durChapterIndex = durChapterIndex book.durChapterPos = durPageIndex + App.db.bookDao().update(book) } } }