aligning with super

This commit is contained in:
Kevin G Christiano 2020-03-02 16:11:27 -05:00
parent b00485c81a
commit 61bc283770

View File

@ -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