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:
parent
b8c3f9dcce
commit
5e20e54649
@ -697,7 +697,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
|
||||||
|
|
||||||
// SY -->
|
// SY -->
|
||||||
|
Loading…
x
Reference in New Issue
Block a user