Skip to content

Commit 21c2f17

Browse files
Fix
1 parent 38d0e2c commit 21c2f17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/RichTextKit/Attributes/RichTextAttributeWriter+Colors.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ public extension RichTextAttributeWriter {
1818
) {
1919
guard let attribute = color.attribute else { return }
2020
if richTextColor(color, at: range) == val { return }
21-
setRichTextAttribute(attribute, to: color, at: range)
21+
setRichTextAttribute(attribute, to: val, at: range)
2222
}
2323
}

0 commit comments

Comments
 (0)