Don't reconfigure conversation main status unnecessarily
This commit is contained in:
parent
5b321fcc78
commit
708112c486
|
@ -147,7 +147,8 @@ 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.reconfigureItems([mainStatusItem])
|
||||
// don't need to reconfigure main item, since when the refreshed copy was loaded
|
||||
// it would have triggered a reconfigure via the status observer
|
||||
|
||||
// convert sub-threads into items for section and add to snapshot
|
||||
self.addFlattenedChildThreadsToSnapshot(tree.descendants, mainStatus: mainStatus, snapshot: &snapshot)
|
||||
|
|
Loading…
Reference in New Issue