renamed helper to config
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
b253bf3e03
commit
b318f1519b
@ -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
|
||||||
} ()
|
} ()
|
||||||
|
|
||||||
//--------------------------------------------------
|
//--------------------------------------------------
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user