From cfbfb8dde798e11ffba5fc3f77fa0cc4ffa61e29 Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Sun, 1 Feb 2026 15:32:25 -0800 Subject: [PATCH] Fix bug in the feeds list where tapping on a row in the sidebar would have no effect. Happened only on Pro Max. --- iOS/MainFeed/MainFeedCollectionViewController.swift | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/iOS/MainFeed/MainFeedCollectionViewController.swift b/iOS/MainFeed/MainFeedCollectionViewController.swift index 6cf9a51e4..807f35051 100644 --- a/iOS/MainFeed/MainFeedCollectionViewController.swift +++ b/iOS/MainFeed/MainFeedCollectionViewController.swift @@ -109,6 +109,13 @@ final class MainFeedCollectionViewController: UICollectionViewController, Undoab guard traitCollection.userInterfaceIdiom == .phone else { return } + + defer { + DispatchQueue.main.asyncAfter(deadline: .now() + 0.3) { + self.isAnimating = false + } + } + // Pro Max may have split view in landscape — make sure it's collapsed. // guard coordinator.isRootSplitCollapsed else { @@ -118,10 +125,6 @@ final class MainFeedCollectionViewController: UICollectionViewController, Undoab if collectionView.indexPathsForSelectedItems != nil { coordinator.selectSidebarItem(indexPath: nil, animations: [.select]) } - - DispatchQueue.main.asyncAfter(deadline: .now() + 0.3) { - self.isAnimating = false - } } func registerForNotifications() {