Fix conversation main status flickering when context is loaded
This commit is contained in:
parent
8319935a3d
commit
421cb7ba03
|
@ -147,7 +147,7 @@ class ConversationCollectionViewController: UIViewController, CollectionViewCont
|
||||||
Item.status(id: node.status.id, node: node, state: .unknown, prevLink: index > 0, nextLink: true)
|
Item.status(id: node.status.id, node: node, state: .unknown, prevLink: index > 0, nextLink: true)
|
||||||
}
|
}
|
||||||
snapshot.appendItems(parentItems, toSection: .ancestors)
|
snapshot.appendItems(parentItems, toSection: .ancestors)
|
||||||
snapshot.reloadItems([mainStatusItem])
|
snapshot.reconfigureItems([mainStatusItem])
|
||||||
|
|
||||||
// convert sub-threads into items for section and add to snapshot
|
// convert sub-threads into items for section and add to snapshot
|
||||||
self.addFlattenedChildThreadsToSnapshot(tree.descendants, mainStatus: mainStatus, snapshot: &snapshot)
|
self.addFlattenedChildThreadsToSnapshot(tree.descendants, mainStatus: mainStatus, snapshot: &snapshot)
|
||||||
|
|
Loading…
Reference in New Issue