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