Fix ReaderViewModel::updateChapterProgress
The condition for updating progress is wrong since fefa8f84982b537ca930438f7976087844d5bb9c
This commit is contained in:
parent
438be9d942
commit
b3efb5fbac
1 changed files with 1 additions and 1 deletions
|
|
@ -703,7 +703,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 ||
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue