Merge branch 'develop' of https://gitlab.verizon.com/BPHV_MIPS/mvm_core_ui into develop
This commit is contained in:
commit
beab18ad09
@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
@ -36,7 +36,7 @@ import UIKit
|
|||||||
initialSetup()
|
initialSetup()
|
||||||
}
|
}
|
||||||
|
|
||||||
public func initialSetup() {
|
open func initialSetup() {
|
||||||
if !initialSetupPerformed {
|
if !initialSetupPerformed {
|
||||||
initialSetupPerformed = true
|
initialSetupPerformed = true
|
||||||
setupView()
|
setupView()
|
||||||
|
|||||||
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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 {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user