From 35128f2a654e5fc81159c572123ede6dc990f28b Mon Sep 17 00:00:00 2001 From: kunfei Date: Thu, 22 Aug 2019 15:05:49 +0800 Subject: [PATCH] up --- app/src/main/java/io/legado/app/ui/readbook/ReadBookViewModel.kt | 1 + 1 file changed, 1 insertion(+) 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) } } }