From ea28526689ee6958a2a1c55bc8662413b9c34049 Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Tue, 1 Nov 2022 15:12:55 -0500 Subject: [PATCH] don't default to .black Signed-off-by: Matt Bruce --- VDS/Components/Label/Attributes/LabelAttributeUnderline.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VDS/Components/Label/Attributes/LabelAttributeUnderline.swift b/VDS/Components/Label/Attributes/LabelAttributeUnderline.swift index d7c302cc..e1358c2e 100644 --- a/VDS/Components/Label/Attributes/LabelAttributeUnderline.swift +++ b/VDS/Components/Label/Attributes/LabelAttributeUnderline.swift @@ -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