fixed ref

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2022-08-02 12:02:13 -05:00
parent 81d36f0096
commit 6641b94d7a

View File

@ -75,7 +75,7 @@ open class VDSLabel: UILabel, Modelable, Initable {
//functions
private func onStateChange(viewModel: VDSLabelModel) {
text = model.text
text = viewModel.text
textAlignment = viewModel.textPosition.textAlignment
textColor = getTextColor(for: viewModel.disabled, surface: viewModel.surface)