mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2025-02-17 02:05:13 +00:00
StatusDataControllerProvider: Update all statuses in detail view fetch
This commit is contained in:
parent
e3d00d2b3e
commit
df4a76f9d1
1 changed files with 1 additions and 3 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue