Skip to content

Commit

Permalink
fix: reading load next page
Browse files Browse the repository at this point in the history
  • Loading branch information
tatsuz0u committed May 15, 2021
1 parent adaadcf commit 6004805
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EhPanda/DataFlow/Store.swift
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,7 @@ final class Store: ObservableObject {

let currentNum = detail.currentPageNum
let maximumNum = detail.pageNumMaximum
if currentNum + 1 > maximumNum { break }
if currentNum + 1 >= maximumNum { break }

if appState.contentInfo.moreMangaContentsLoading { break }
appState.contentInfo.moreMangaContentsLoading = true
Expand Down

0 comments on commit 6004805

Please sign in to comment.