diff --git a/VDS/Components/Label/Attributes/ActionLabelAttribute.swift b/VDS/Components/Label/Attributes/ActionLabelAttribute.swift index dc0f9638..81f4981f 100644 --- a/VDS/Components/Label/Attributes/ActionLabelAttribute.swift +++ b/VDS/Components/Label/Attributes/ActionLabelAttribute.swift @@ -51,7 +51,7 @@ public struct ActionLabelAttribute: ActionLabelAttributeModel { public func setAttribute(on attributedString: NSMutableAttributedString) { if(shouldUnderline){ - attributedString.addAttribute(.underlineStyle, value: NSUnderlineStyle.single, range: range) + UnderlineLabelAttribute(location: location, length: length).setAttribute(on: attributedString) } } }