removed code

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2023-08-21 17:36:45 -05:00
parent 5502cdaf46
commit 79d1fe9b0f

View File

@ -328,9 +328,6 @@ open class TitleLockup: View {
eyebrowLabel.textColorConfiguration = textColorPrimaryConfiguration
eyebrowLabel.textStyle = eyebrowModel.isBold ? otherStandardStyle.value.bold : otherStandardStyle.value.regular
}
eyebrowLabel.sizeToFit()
} else {
eyebrowLabel.reset()
}
if let titleModel, !titleModel.text.isEmpty {
@ -341,9 +338,6 @@ open class TitleLockup: View {
titleLabel.attributes = titleModel.textAttributes
titleLabel.numberOfLines = titleModel.numberOfLines
titleLabel.surface = surface
titleLabel.sizeToFit()
} else {
titleLabel.reset()
}
if let subTitleModel, !subTitleModel.text.isEmpty {
@ -355,9 +349,6 @@ open class TitleLockup: View {
subTitleLabel.attributes = subTitleModel.textAttributes
subTitleLabel.numberOfLines = subTitleModel.numberOfLines
subTitleLabel.surface = surface
subTitleLabel.sizeToFit()
} else {
subTitleLabel.reset()
}
//if both first 2 rows not empty set spacing
@ -378,5 +369,5 @@ open class TitleLockup: View {
eyebrowLabel.isHidden = eyebrowTextIsEmpty
titleLabel.isHidden = titleTextIsEmpty
subTitleLabel.isHidden = subTitleTextIsEmpty
}
}
}