We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c1dcba commit 4675633Copy full SHA for 4675633
1 file changed
packages/text/platforms/ios/src/NSTextUtils.swift
@@ -13,11 +13,11 @@ class NSTextUtils: NSObject {
13
let isTextView:Bool = (view is UITextView)
14
15
if textDecoration.contains("underline") {
16
- attrDict[NSAttributedString.Key.underlineStyle] = (NSUnderlineStyle.single)
+ attrDict[NSAttributedString.Key.underlineStyle] = (NSUnderlineStyle.single.rawValue)
17
}
18
19
if textDecoration.contains("line-through") {
20
- attrDict[NSAttributedString.Key.strikethroughStyle] = (NSUnderlineStyle.single)
+ attrDict[NSAttributedString.Key.strikethroughStyle] = (NSUnderlineStyle.single.rawValue)
21
22
23
if letterSpacing != 0 && isTextType && view is UILabel && (view as! UILabel).font != nil {
0 commit comments