Return to the Feeds scene when Add is executed using a keyboard shortcut key in another scene

This commit is contained in:
Maurice Parker 2019-09-06 10:57:37 -05:00
parent cc1c45095c
commit cdbaeda97b

View File

@ -872,6 +872,8 @@ class SceneCoordinator: NSObject, UndoableCommandRunner, UnreadCountProvider {
}
func showAdd(_ type: AddControllerType) {
selectFeed(nil)
let addViewController = UIStoryboard.add.instantiateInitialViewController() as! UINavigationController
let containerController = addViewController.topViewController as! AddContainerViewController
containerController.initialControllerType = type