Fix bug in the feeds list where tapping on a row in the sidebar would have no effect. Happened only on Pro Max.

This commit is contained in:
Brent Simmons committed 2026-02-01 15:32:25 -08:00
1 parent 6e417ac437
commit cfbfb8dde7
1 file changed
+7 -4
@@ -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.
// <https://github.com/Ranchero-Software/NetNewsWire/issues/5043>
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() {