This commit is contained in:
Scott Pfeil 2021-11-08 11:16:08 -05:00
commit beab18ad09
7 changed files with 7 additions and 7 deletions

View File

@ -36,7 +36,7 @@ import Foundation
}
private func setState() {
public func setState() {
guard let castModel = model as? ImageButtonModel else {
return
}

View File

@ -89,7 +89,7 @@ open class Video: View {
})
case .failed:
if let errorObject = item.loadFailedError {
MVMCoreLoggingHandler.shared()?.addError(toLog: errorObject)
MVMCoreLoggingHandler.addError(toLog: errorObject)
}
default:
break

View File

@ -70,7 +70,7 @@ public extension ModelRegistry {
return type
} catch {
if let errorObject = MVMCoreErrorObject.createErrorObject(for: error, location: #function) {
MVMCoreLoggingHandler.shared()?.addError(toLog: errorObject)
MVMCoreLoggingHandler.addError(toLog: errorObject)
}
return nil
}

View File

@ -36,7 +36,7 @@ import UIKit
initialSetup()
}
public func initialSetup() {
open func initialSetup() {
if !initialSetupPerformed {
initialSetupPerformed = true
setupView()

View File

@ -117,7 +117,7 @@ import UIKit
})
} catch {
if let coreError = MVMCoreErrorObject.createErrorObject(for: error, location: "updateJSON for pageType: \(String(describing: pageType))") {
MVMCoreLoggingHandler.shared()?.addError(toLog: coreError)
MVMCoreLoggingHandler.addError(toLog: coreError)
}
}
}

View File

@ -28,7 +28,7 @@ public extension PageBehaviorHandlerProtocol {
behaviors.append(behavior)
} catch {
if let errorObject = MVMCoreErrorObject.createErrorObject(for: error, location: #function) {
MVMCoreLoggingHandler.shared()?.addError(toLog: errorObject)
MVMCoreLoggingHandler.addError(toLog: errorObject)
}
}
}

View File

@ -35,7 +35,7 @@
[self topNotificationAction:actionInformation additionalData:additionalData delegateObject:delegateObject];
return YES;
}
return NO;
return [super handleOtherActions:actionType actionInformation:actionInformation additionalData:additionalData delegateObject:delegateObject];
}
- (void)openPageAction:(NSDictionary *)actionInformation additionalData:(NSDictionary *)additionalData delegateObject:(DelegateObject *)delegateObject {