renamed helper to config

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2022-08-05 10:56:06 -05:00
parent b253bf3e03
commit b318f1519b

View File

@ -161,15 +161,15 @@ open class LabelBase<ModelType: LabelModel>: UILabel, ModelHandlerable, Initable
} }
//-------------------------------------------------- //--------------------------------------------------
// MARK: - Private Functions // MARK: - Default TextColor Configuration
//-------------------------------------------------- //--------------------------------------------------
private var textColorConfiguration: DisabledSurfaceColorConfiguration<ModelType> = { private var textColorConfiguration: DisabledSurfaceColorConfiguration<ModelType> = {
let helper = DisabledSurfaceColorConfiguration<ModelType>() let config = DisabledSurfaceColorConfiguration<ModelType>()
helper.disabled.lightColor = VDSColor.elementsSecondaryOnlight config.disabled.lightColor = VDSColor.elementsSecondaryOnlight
helper.disabled.darkColor = VDSColor.elementsSecondaryOndark config.disabled.darkColor = VDSColor.elementsSecondaryOndark
helper.enabled.lightColor = VDSColor.elementsPrimaryOnlight config.enabled.lightColor = VDSColor.elementsPrimaryOnlight
helper.enabled.darkColor = VDSColor.elementsPrimaryOndark config.enabled.darkColor = VDSColor.elementsPrimaryOndark
return helper return config
} () } ()
//-------------------------------------------------- //--------------------------------------------------