2
2
mirror of https://github.com/mastodon/mastodon-ios synced 2025-04-11 22:58:02 +02:00

Reload notifications after interacting with them (#1221)

This commit is contained in:
Marcus Kida 2024-01-31 11:28:48 +01:00 committed by GitHub
parent 5773ceb2ad
commit 6af38ade27
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -38,7 +38,9 @@ extension NotificationTimelineViewController: DataSourceProvider {
}
func update(status: MastodonStatus, intent: MastodonStatus.UpdateIntent) {
viewModel.dataController.update(status: status, intent: intent)
Task {
await viewModel.loadLatest()
}
}
@MainActor