From b318f1519bce0dab4b5323da81cd5cdb88382723 Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Fri, 5 Aug 2022 10:56:06 -0500 Subject: [PATCH] renamed helper to config Signed-off-by: Matt Bruce --- VDS/Components/Label/Label.swift | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/VDS/Components/Label/Label.swift b/VDS/Components/Label/Label.swift index 895b72f7..98c1dfb2 100644 --- a/VDS/Components/Label/Label.swift +++ b/VDS/Components/Label/Label.swift @@ -161,15 +161,15 @@ open class LabelBase: UILabel, ModelHandlerable, Initable } //-------------------------------------------------- - // MARK: - Private Functions + // MARK: - Default TextColor Configuration //-------------------------------------------------- private var textColorConfiguration: DisabledSurfaceColorConfiguration = { - let helper = DisabledSurfaceColorConfiguration() - helper.disabled.lightColor = VDSColor.elementsSecondaryOnlight - helper.disabled.darkColor = VDSColor.elementsSecondaryOndark - helper.enabled.lightColor = VDSColor.elementsPrimaryOnlight - helper.enabled.darkColor = VDSColor.elementsPrimaryOndark - return helper + let config = DisabledSurfaceColorConfiguration() + config.disabled.lightColor = VDSColor.elementsSecondaryOnlight + config.disabled.darkColor = VDSColor.elementsSecondaryOndark + config.enabled.lightColor = VDSColor.elementsPrimaryOnlight + config.enabled.darkColor = VDSColor.elementsPrimaryOndark + return config } () //--------------------------------------------------