From 326e098aecd02cd9f07a71d83bc2681470992eb9 Mon Sep 17 00:00:00 2001 From: Marcus Kida Date: Wed, 12 Jun 2024 16:31:59 +0200 Subject: [PATCH] Remove limit when fetching more items (IOS-275) --- Mastodon/Scene/HomeTimeline/HomeTimelineViewModel.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Mastodon/Scene/HomeTimeline/HomeTimelineViewModel.swift b/Mastodon/Scene/HomeTimeline/HomeTimelineViewModel.swift index 43a4fb38f..6c5d66cfd 100644 --- a/Mastodon/Scene/HomeTimeline/HomeTimelineViewModel.swift +++ b/Mastodon/Scene/HomeTimeline/HomeTimelineViewModel.swift @@ -163,12 +163,11 @@ extension HomeTimelineViewModel { case .home: response = try? await context.apiService.homeTimeline( maxID: status.id, - limit: 20, authenticationBox: authContext.mastodonAuthenticationBox ) case .public: response = try? await context.apiService.publicTimeline( - query: .init(maxID: status.id, limit: 20), + query: .init(maxID: status.id), authenticationBox: authContext.mastodonAuthenticationBox ) }