From 61bc283770a4ed98bf5db159ce9f1899db29a7ef Mon Sep 17 00:00:00 2001 From: Kevin G Christiano Date: Mon, 2 Mar 2020 16:11:27 -0500 Subject: [PATCH] aligning with super --- .../Atoms/Views/CarouselIndicator/CarouselIndicator.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MVMCoreUI/Atoms/Views/CarouselIndicator/CarouselIndicator.swift b/MVMCoreUI/Atoms/Views/CarouselIndicator/CarouselIndicator.swift index 5b1269fd..7ce0fa9f 100644 --- a/MVMCoreUI/Atoms/Views/CarouselIndicator/CarouselIndicator.swift +++ b/MVMCoreUI/Atoms/Views/CarouselIndicator/CarouselIndicator.swift @@ -304,12 +304,12 @@ open class CarouselIndicator: Control, CarouselPageControlProtocol { //-------------------------------------------------- open override func set(with model: MoleculeModelProtocol?, _ delegateObject: MVMCoreUIDelegateObject?, _ additionalData: [AnyHashable: Any]?) { - // super.setWithModel(model, delegateObject, additionalData) - + guard let model = model as? CarouselIndicatorModel else { return } + super.set(with: model, delegateObject, additionalData) + indicatorType = IndicatorType(rawValue: model.type) ?? .hybrid - backgroundColor = model.backgroundColor?.uiColor currentIndicatorColor = model.currentIndicatorColor.uiColor indicatorTintColor = model.indicatorColor.uiColor isEnabled = model.isEnabled