chore:change maxID to minID
This commit is contained in:
parent
6ff1a0c88e
commit
61dc0cb2cd
|
@ -52,10 +52,9 @@ extension PublicTimelineViewModel.LoadMiddleState {
|
|||
stateMachine.enter(Fail.self)
|
||||
return
|
||||
}
|
||||
let maxID = upperTimelineTootID
|
||||
viewModel.context.apiService.publicTimeline(
|
||||
domain: activeMastodonAuthenticationBox.domain,
|
||||
maxID: maxID
|
||||
minID: upperTimelineTootID
|
||||
)
|
||||
.receive(on: DispatchQueue.main)
|
||||
.sink { completion in
|
||||
|
|
|
@ -29,7 +29,7 @@ extension APIService {
|
|||
onlyMedia: nil,
|
||||
maxID: maxID,
|
||||
sinceID: sinceID,
|
||||
minID: nil, // prefer sinceID
|
||||
minID: minID, // prefer sinceID
|
||||
limit: limit
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue