Clear the timeline if the deleted feed is showing in the timeline

This commit is contained in:
Maurice Parker 2019-09-08 08:40:15 -05:00
parent fc6341704b
commit 9dc8f8d37a
1 changed files with 5 additions and 0 deletions

View File

@ -882,6 +882,11 @@ private extension MasterFeedViewController {
pushUndoableCommand(deleteCommand)
deleteCommand.perform()
if indexPath == coordinator.currentFeedIndexPath {
coordinator.selectFeed(nil)
}
}
}