added the fontSize as a last resort for vars being set in the Label after fontStyle and fontName.
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
f53847372a
commit
09081b8bc8
@ -209,6 +209,9 @@ public typealias ActionBlock = () -> ()
|
|||||||
if let newFont = UIFont(name: fontName, size: fontSize ?? standardFontSize) {
|
if let newFont = UIFont(name: fontName, size: fontSize ?? standardFontSize) {
|
||||||
font = newFont
|
font = newFont
|
||||||
}
|
}
|
||||||
|
} else if let fontSize = viewModel.fontSize {
|
||||||
|
standardFontSize = fontSize
|
||||||
|
font = textStyle.font.withSize(fontSize)
|
||||||
}
|
}
|
||||||
|
|
||||||
if let color = viewModel.textColor {
|
if let color = viewModel.textColor {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user