mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-11-28 00:04:25 +00:00
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:
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() {
|
||||
|
||||
Reference in new issue
Block a user