mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-12-15 19:56:36 +00:00
Load new posts per 100 instead of 200
This commit is contained in:
parent
3a721d3280
commit
acccdb8041
1 changed files with 1 additions and 1 deletions
|
@ -278,7 +278,7 @@ extension TimelineViewModel: StatusesFetcher {
|
|||
private func fetchNewPagesFrom(latestStatus: String, client: Client) async throws {
|
||||
canStreamEvents = false
|
||||
let initialTimeline = timeline
|
||||
var newStatuses: [Status] = await fetchNewPages(minId: latestStatus, maxPages: 10)
|
||||
var newStatuses: [Status] = await fetchNewPages(minId: latestStatus, maxPages: 5)
|
||||
|
||||
// Dedup statuses, a status with the same id could have been streamed in.
|
||||
let ids = await datasource.get().map(\.id)
|
||||
|
|
Loading…
Reference in a new issue