From 06a33458a75eb3d7995d8693cc542413bf2b096c Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Thu, 3 Mar 2022 16:56:47 -0600 Subject: [PATCH] fixed bug Signed-off-by: Matt Bruce --- MVMCore/MVMCore/ActionHandling/ActionOpenUrlHandler.swift | 2 +- MVMCore/MVMCore/ActionHandling/ModelHandler.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/MVMCore/MVMCore/ActionHandling/ActionOpenUrlHandler.swift b/MVMCore/MVMCore/ActionHandling/ActionOpenUrlHandler.swift index 83228dc..e3838a8 100644 --- a/MVMCore/MVMCore/ActionHandling/ActionOpenUrlHandler.swift +++ b/MVMCore/MVMCore/ActionHandling/ActionOpenUrlHandler.swift @@ -8,7 +8,7 @@ import Foundation -open class ActionOpenUrlHandler: ModelHandler { +open class ActionOpenUrlHandler: ModelHandler { public override func perform() { MVMCoreDispatchUtility.performBlock(onMainThread: { [self] in diff --git a/MVMCore/MVMCore/ActionHandling/ModelHandler.swift b/MVMCore/MVMCore/ActionHandling/ModelHandler.swift index bbcad4f..0523d2f 100644 --- a/MVMCore/MVMCore/ActionHandling/ModelHandler.swift +++ b/MVMCore/MVMCore/ActionHandling/ModelHandler.swift @@ -25,7 +25,7 @@ open class ModelHandler: NSObject, MVMCoreHandle //Need to be a property so that you can access //the handler outside of the "perform(then: handler) - public var handler: Handler! + public var handler: Handler? //typed ModelProtocl this handler is expecting public var model: Model