Rename some instances of Feed and feed that should be SidebarItem and sidebarItem.

This commit is contained in:
Brent Simmons committed 2026-01-19 09:41:06 -08:00
1 parent a431889591
commit 3d5486ad5f
2 files changed
+21 -19

No files matched your search

@@ -103,7 +103,7 @@ final class MainFeedCollectionViewController: UICollectionViewController, Undoab
/// to false and this will allow selection.
if traitCollection.userInterfaceIdiom == .phone {
if collectionView.indexPathsForSelectedItems != nil {
coordinator.selectFeed(indexPath: nil, animations: [.select])
coordinator.selectSidebarItem(indexPath: nil, animations: [.select])
DispatchQueue.main.asyncAfter(deadline: .now() + 0.3, execute: {
self.isAnimating = false
})
@@ -305,7 +305,7 @@ final class MainFeedCollectionViewController: UICollectionViewController, Undoab
override func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {
becomeFirstResponder()
coordinator.selectFeed(indexPath: indexPath, animations: [.navigation, .select, .scroll])
coordinator.selectSidebarItem(indexPath: indexPath, animations: [.navigation, .select, .scroll])
}
// MARK: UICollectionViewDelegate
@@ -1209,7 +1209,7 @@ extension MainFeedCollectionViewController {
}
if indexPath == coordinator.currentFeedIndexPath {
coordinator.selectFeed(indexPath: nil)
coordinator.selectSidebarItem(indexPath: nil)
}
pushUndoableCommand(deleteCommand)