fixed bug
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
052165420d
commit
06a33458a7
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
import Foundation
|
import Foundation
|
||||||
|
|
||||||
open class ActionOpenUrlHandler: ModelHandler<ActionOpenUrlModel, Void> {
|
open class ActionOpenUrlHandler: ModelHandler<ActionOpenUrlModel, Swift.Void> {
|
||||||
|
|
||||||
public override func perform() {
|
public override func perform() {
|
||||||
MVMCoreDispatchUtility.performBlock(onMainThread: { [self] in
|
MVMCoreDispatchUtility.performBlock(onMainThread: { [self] in
|
||||||
|
|||||||
@ -25,7 +25,7 @@ open class ModelHandler<Model: ModelProtocol, Response>: NSObject, MVMCoreHandle
|
|||||||
|
|
||||||
//Need to be a property so that you can access
|
//Need to be a property so that you can access
|
||||||
//the handler outside of the "perform(then: handler)
|
//the handler outside of the "perform(then: handler)
|
||||||
public var handler: Handler!
|
public var handler: Handler?
|
||||||
|
|
||||||
//typed ModelProtocl this handler is expecting
|
//typed ModelProtocl this handler is expecting
|
||||||
public var model: Model
|
public var model: Model
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user