Return to the Feeds scene when Add is executed using a keyboard shortcut key in another scene
This commit is contained in:
parent
cc1c45095c
commit
cdbaeda97b
|
@ -872,6 +872,8 @@ class SceneCoordinator: NSObject, UndoableCommandRunner, UnreadCountProvider {
|
||||||
}
|
}
|
||||||
|
|
||||||
func showAdd(_ type: AddControllerType) {
|
func showAdd(_ type: AddControllerType) {
|
||||||
|
selectFeed(nil)
|
||||||
|
|
||||||
let addViewController = UIStoryboard.add.instantiateInitialViewController() as! UINavigationController
|
let addViewController = UIStoryboard.add.instantiateInitialViewController() as! UINavigationController
|
||||||
let containerController = addViewController.topViewController as! AddContainerViewController
|
let containerController = addViewController.topViewController as! AddContainerViewController
|
||||||
containerController.initialControllerType = type
|
containerController.initialControllerType = type
|
||||||
|
|
Loading…
Reference in New Issue