mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
fix(chapter): Read state is not saved
This commit is contained in:
parent
00b7ac6c25
commit
6e76ab125e
1 changed files with 2 additions and 0 deletions
|
@ -457,6 +457,7 @@ class ReaderViewModel(
|
|||
updateChapter.await(
|
||||
ChapterUpdate(
|
||||
id = chapter.id!!,
|
||||
read = chapter.read,
|
||||
bookmark = chapter.bookmark,
|
||||
lastPageRead = chapter.last_page_read.toLong(),
|
||||
pagesLeft = chapter.pages_left.toLong(),
|
||||
|
@ -644,6 +645,7 @@ class ReaderViewModel(
|
|||
updateChapter.await(
|
||||
ChapterUpdate(
|
||||
id = readerChapter.chapter.id!!,
|
||||
read = readerChapter.chapter.read,
|
||||
bookmark = readerChapter.chapter.bookmark,
|
||||
lastPageRead = readerChapter.chapter.last_page_read.toLong(),
|
||||
pagesLeft = readerChapter.chapter.pages_left.toLong(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue