Clear the timeline if the deleted feed is showing in the timeline
This commit is contained in:
parent
fc6341704b
commit
9dc8f8d37a
|
@ -882,6 +882,11 @@ private extension MasterFeedViewController {
|
|||
|
||||
pushUndoableCommand(deleteCommand)
|
||||
deleteCommand.perform()
|
||||
|
||||
if indexPath == coordinator.currentFeedIndexPath {
|
||||
coordinator.selectFeed(nil)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue