From e53e66b96a25e01e3fbb69f9965cdb26e3c49789 Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Thu, 20 Oct 2022 13:17:16 -0500 Subject: [PATCH] updated Signed-off-by: Matt Bruce --- VDS/Classes/CollectionViewCell.swift | 1 + VDS/Components/Button/Button.swift | 1 + VDS/Components/Label/Label.swift | 1 + 3 files changed, 3 insertions(+) diff --git a/VDS/Classes/CollectionViewCell.swift b/VDS/Classes/CollectionViewCell.swift index 2a203dd8..773ec6e6 100644 --- a/VDS/Classes/CollectionViewCell.swift +++ b/VDS/Classes/CollectionViewCell.swift @@ -49,6 +49,7 @@ open class CollectionViewCell: UICo if !initialSetupPerformed { initialSetupPerformed = true setup() + modelHandler.updateView() } } diff --git a/VDS/Components/Button/Button.swift b/VDS/Components/Button/Button.swift index a7ffe8e4..e223c764 100644 --- a/VDS/Components/Button/Button.swift +++ b/VDS/Components/Button/Button.swift @@ -120,6 +120,7 @@ open class Button: UIButton, ModelHandlerable, ViewProtocol, Resettable, Useable accessibilityTraits = .staticText setupUpdateView() setup() + updateView() } open func setup() { diff --git a/VDS/Components/Label/Label.swift b/VDS/Components/Label/Label.swift index c3873cae..b277a8a9 100644 --- a/VDS/Components/Label/Label.swift +++ b/VDS/Components/Label/Label.swift @@ -90,6 +90,7 @@ open class LabelBase: UILabel, ModelHandlerable, ViewProtocol, Resettable { accessibilityTraits = .staticText setupUpdateView() setup() + updateView() } open func setup() {}