don't default to .black
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
f06a6aac78
commit
ea28526689
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user