Fix regression that prevented the timeline and article from being cleared when the current feed is deleted. Fixes #3054
This commit is contained in:
parent
d631d4d382
commit
9b53fcbe37
|
@ -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()
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue