From 421cb7ba033926289d38bcd6dab9eaedd672b5c6 Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Sun, 14 May 2023 15:25:09 -0400 Subject: [PATCH] Fix conversation main status flickering when context is loaded --- .../Conversation/ConversationCollectionViewController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tusker/Screens/Conversation/ConversationCollectionViewController.swift b/Tusker/Screens/Conversation/ConversationCollectionViewController.swift index 3431f27313..18df951bb0 100644 --- a/Tusker/Screens/Conversation/ConversationCollectionViewController.swift +++ b/Tusker/Screens/Conversation/ConversationCollectionViewController.swift @@ -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)