using .isHidden feature

This commit is contained in:
Vasavi Kanamarlapudi 2024-09-12 15:46:32 +05:30
parent 09351db136
commit 9b885da7ca

View File

@ -211,7 +211,8 @@ open class Footnote: View {
// Update symbolLabel
symbolWidthConstraint?.isActive = false
symbolLabel.text = hideSymbol ? "" : symbolType
symbolLabel.text = symbolType
symbolLabel.isHidden = hideSymbol
symbolLabel.textColor = kind.colorConfiguration.getColor(self)
symbolLabel.textStyle = size.textStyle.regular
symbolLabel.surface = surface