StatusDataControllerProvider: Update all statuses in detail view fetch

This commit is contained in:
Thomas Ricouard 2023-03-03 19:29:31 +01:00
parent e3d00d2b3e
commit df4a76f9d1

View file

@ -80,9 +80,7 @@ class StatusDetailViewModel: ObservableObject {
statuses.append(data.status)
statuses.append(contentsOf: data.context.descendants)
StatusDataControllerProvider.shared.dataController(for: data.status,
client: client)
.updateFrom(status: data.status, publishUpdate: true)
StatusDataControllerProvider.shared.updateDataControllers(for: statuses, client: client)
if animate {
withAnimation {