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 { guard let castModel = model as? ImageButtonModel else {
return return
} }

View File

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

View File

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

View File

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

View File

@ -117,7 +117,7 @@ import UIKit
}) })
} catch { } catch {
if let coreError = MVMCoreErrorObject.createErrorObject(for: error, location: "updateJSON for pageType: \(String(describing: pageType))") { 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) behaviors.append(behavior)
} catch { } catch {
if let errorObject = MVMCoreErrorObject.createErrorObject(for: error, location: #function) { 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]; [self topNotificationAction:actionInformation additionalData:additionalData delegateObject:delegateObject];
return YES; return YES;
} }
return NO; return [super handleOtherActions:actionType actionInformation:actionInformation additionalData:additionalData delegateObject:delegateObject];
} }
- (void)openPageAction:(NSDictionary *)actionInformation additionalData:(NSDictionary *)additionalData delegateObject:(DelegateObject *)delegateObject { - (void)openPageAction:(NSDictionary *)actionInformation additionalData:(NSDictionary *)additionalData delegateObject:(DelegateObject *)delegateObject {