Fix reader not updating progress (#2007)

The condition for updating progress is wrong since fefa8f84982b537ca930438f7976087844d5bb9c

(cherry picked from commit 6632a122288cc9733844c8dce1ee51b520c0a32e)
This commit is contained in:
KokaKiwi 2025-04-18 05:50:42 +02:00 committed by Jobobby04
parent b8c3f9dcce
commit 5e20e54649

View File

@ -697,7 +697,7 @@ class ReaderViewModel @JvmOverloads constructor(
readerChapter.requestedPage = 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
// SY -->