fixed ref
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
81d36f0096
commit
6641b94d7a
@ -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)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user