diff --git a/iOS/MasterFeed/MasterFeedViewController.swift b/iOS/MasterFeed/MasterFeedViewController.swift index bf9e5cf45..9e6808b73 100644 --- a/iOS/MasterFeed/MasterFeedViewController.swift +++ b/iOS/MasterFeed/MasterFeedViewController.swift @@ -1407,13 +1407,12 @@ private extension MasterFeedViewController { ActivityManager.cleanUp(feed) } - pushUndoableCommand(deleteCommand) - deleteCommand.perform() - if indexPath == coordinator.currentFeedIndexPath { coordinator.selectFeed(indexPath: nil) } + pushUndoableCommand(deleteCommand) + deleteCommand.perform() } }