aligning with super
This commit is contained in:
parent
b00485c81a
commit
61bc283770
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user