Fix conversation main status flickering when context is loaded

This commit is contained in:
Shadowfacts 2023-05-14 15:25:09 -04:00
parent 8319935a3d
commit 421cb7ba03
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ class ConversationCollectionViewController: UIViewController, CollectionViewCont
Item.status(id: node.status.id, node: node, state: .unknown, prevLink: index > 0, nextLink: true)
}
snapshot.appendItems(parentItems, toSection: .ancestors)
snapshot.reloadItems([mainStatusItem])
snapshot.reconfigureItems([mainStatusItem])
// convert sub-threads into items for section and add to snapshot
self.addFlattenedChildThreadsToSnapshot(tree.descendants, mainStatus: mainStatus, snapshot: &snapshot)