Review comments
This commit is contained in:
parent
f2a5586061
commit
9d88dd70af
@ -21,7 +21,7 @@ public extension MVMCoreActionUtility {
|
||||
@objc public extension MVMCoreActionUtility {
|
||||
/// Can call to display a view controller based on the load object in the same way the architecture does it. Will check the presentation style of the page, action, and request. Will check if needs a view manager.
|
||||
@objc(displayViewController:forLoadObject:completionHandler:)
|
||||
static func display(_ viewController: UIViewController & MVMCoreViewControllerProtocol, for loadObject: MVMCoreLoadObject?, completionHandler: (() -> Void)?) {
|
||||
static func display(_ viewController: UIViewController & MVMCoreViewControllerProtocol, for loadObject: MVMCoreLoadObject?, completionHandler: (() -> Void)? = nil) {
|
||||
Task(priority: .high) {
|
||||
guard let navigationOperation = await NavigationHandler.shared().getNavigationOperation(with: viewController, loadObject: loadObject) else {
|
||||
completionHandler?()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user