forked from shadowfacts/Tusker
Show more posts in report status screen
This commit is contained in:
parent
16347b2ad0
commit
455273f322
|
@ -45,7 +45,7 @@ struct ReportAddStatusView: View {
|
||||||
})
|
})
|
||||||
.task { @MainActor in
|
.task { @MainActor in
|
||||||
do {
|
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)
|
let (statuses, _) = try await mastodonController.run(req)
|
||||||
await mastodonController.persistentContainer.addAll(statuses: statuses)
|
await mastodonController.persistentContainer.addAll(statuses: statuses)
|
||||||
self.statuses = statuses.compactMap { mastodonController.persistentContainer.status(for: $0.id) }
|
self.statuses = statuses.compactMap { mastodonController.persistentContainer.status(for: $0.id) }
|
||||||
|
|
Loading…
Reference in New Issue