Skip to content

Commit 5440721

Browse files
committed
Fixed typos.
1 parent 41b85f8 commit 5440721

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Source/SwiftIcons.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -846,20 +846,20 @@ public extension CATextLayer {
846846
textFont = f
847847
}
848848
let prefixTextAttributes = [NSFontAttributeName : textFont!, NSForegroundColorAttributeName: prefixTextColor] as [String : Any]
849-
let prefixTextAttribured = NSMutableAttributedString(string: prefixText, attributes: prefixTextAttributes)
849+
let prefixTextAttributed = NSMutableAttributedString(string: prefixText, attributes: prefixTextAttributes)
850850

851851
if let iconText = icon?.text {
852852
let iconFont = UIFont(name: (icon?.fontName())!, size: iconSize ?? size ?? fontSize)!
853853
let iconAttributes = [NSFontAttributeName : iconFont, NSForegroundColorAttributeName: iconColor]
854854

855855
let iconString = NSAttributedString(string: iconText, attributes: iconAttributes)
856-
prefixTextAttribured.append(iconString)
856+
prefixTextAttributed.append(iconString)
857857
}
858858
let postfixTextAttributes = [NSFontAttributeName : textFont!, NSForegroundColorAttributeName: postfixTextColor] as [String : Any]
859859
let postfixTextAttributed = NSAttributedString(string: postfixText, attributes: postfixTextAttributes)
860-
prefixTextAttribured.append(postfixTextAttributed)
860+
prefixTextAttributed.append(postfixTextAttributed)
861861

862-
string = prefixTextAttribured
862+
string = prefixTextAttributed
863863
alignmentMode = kCAAlignmentCenter
864864
}
865865

0 commit comments

Comments
 (0)