Review comments

This commit is contained in:
Scott Pfeil 2023-08-22 15:39:41 -04:00
parent f2a5586061
commit 9d88dd70af

View File

@ -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?()