removed double line height

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2022-12-06 09:18:06 -06:00
parent 9387b0cff9
commit bffd7f8dd9

View File

@ -112,7 +112,6 @@ open class TextLink: ButtonBase {
//need to set the properties so the super class
//can render out the label correctly
heightConstraint?.constant = height
lineHeightConstraint?.constant = isHighlighted ? 2.0 : 1.0
line.backgroundColor = textColor
//always call last so the label is rendered