don't default to .black

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2022-11-01 15:12:55 -05:00
parent f06a6aac78
commit ea28526689

View File

@ -33,7 +33,7 @@ public struct LabelAttributeUnderline: LabelAttributeModel {
}
}
public init(location: Int, length: Int, style: UnderlineStyle = .single, color: UIColor = .black, pattern: UnderlineStyle.Pattern? = nil) {
public init(location: Int, length: Int, style: UnderlineStyle = .single, color: UIColor? = nil, pattern: UnderlineStyle.Pattern? = nil) {
self.location = location
self.length = length
self.color = color