diff --git a/Zotero/Scenes/Master/Collections/Views/ExpandableCollectionsCollectionViewHandler.swift b/Zotero/Scenes/Master/Collections/Views/ExpandableCollectionsCollectionViewHandler.swift index 763ff1255..90c7595bc 100644 --- a/Zotero/Scenes/Master/Collections/Views/ExpandableCollectionsCollectionViewHandler.swift +++ b/Zotero/Scenes/Master/Collections/Views/ExpandableCollectionsCollectionViewHandler.swift @@ -87,9 +87,7 @@ final class ExpandableCollectionsCollectionViewHandler: NSObject { if !snapshot.visibleItems.contains(where: { $0.identifier == collectionId }) { // Selection is collapsed, we need to expand and select it then update(with: tree, selectedId: collectionId, animated: false) { [weak self] in - inMainThread { [weak self] in - self?.selectIfNeeded(collectionId: collectionId, tree: tree, scrollToPosition: scrollToPosition) - } + self?.selectIfNeeded(collectionId: collectionId, tree: tree, scrollToPosition: scrollToPosition) } return }