From 455273f3227a44f2e45dce8311d7fb3f10dd720e Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Fri, 27 Jan 2023 21:45:02 -0500 Subject: [PATCH] Show more posts in report status screen --- Tusker/Screens/Report/ReportAddStatusView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tusker/Screens/Report/ReportAddStatusView.swift b/Tusker/Screens/Report/ReportAddStatusView.swift index 07140a3a..d3413f74 100644 --- a/Tusker/Screens/Report/ReportAddStatusView.swift +++ b/Tusker/Screens/Report/ReportAddStatusView.swift @@ -45,7 +45,7 @@ struct ReportAddStatusView: View { }) .task { @MainActor in do { - let req = Account.getStatuses(report.accountID, excludeReplies: false, excludeReblogs: true) + let req = Account.getStatuses(report.accountID, range: .count(40), excludeReplies: false, excludeReblogs: true) let (statuses, _) = try await mastodonController.run(req) await mastodonController.persistentContainer.addAll(statuses: statuses) self.statuses = statuses.compactMap { mastodonController.persistentContainer.status(for: $0.id) }