Show more posts in report status screen

This commit is contained in:
Shadowfacts 2023-01-27 21:45:02 -05:00
parent 16347b2ad0
commit 455273f322
1 changed files with 1 additions and 1 deletions

View File

@ -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) }