mirror of
https://github.com/mihonapp/mihon.git
synced 2025-06-29 12:37:50 +02:00
Fix reader not updating progress (#2007)
The condition for updating progress is wrong since fefa8f8498
This commit is contained in:
@ -537,7 +537,7 @@ class ReaderViewModel @JvmOverloads constructor(
|
|||||||
readerChapter.requestedPage = pageIndex
|
readerChapter.requestedPage = pageIndex
|
||||||
chapterPageIndex = pageIndex
|
chapterPageIndex = pageIndex
|
||||||
|
|
||||||
if (!incognitoMode && page.status is Page.State.Error) {
|
if (!incognitoMode && page.status !is Page.State.Error) {
|
||||||
readerChapter.chapter.last_page_read = pageIndex
|
readerChapter.chapter.last_page_read = pageIndex
|
||||||
|
|
||||||
if (readerChapter.pages?.lastIndex == pageIndex) {
|
if (readerChapter.pages?.lastIndex == pageIndex) {
|
||||||
|
Reference in New Issue
Block a user