Reload notifications after interacting with them (#1221)
This commit is contained in:
parent
5773ceb2ad
commit
6af38ade27
|
@ -38,7 +38,9 @@ extension NotificationTimelineViewController: DataSourceProvider {
|
||||||
}
|
}
|
||||||
|
|
||||||
func update(status: MastodonStatus, intent: MastodonStatus.UpdateIntent) {
|
func update(status: MastodonStatus, intent: MastodonStatus.UpdateIntent) {
|
||||||
viewModel.dataController.update(status: status, intent: intent)
|
Task {
|
||||||
|
await viewModel.loadLatest()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@MainActor
|
@MainActor
|
||||||
|
|
Loading…
Reference in New Issue