onTextLayout event

This commit is contained in:
Hailey
2024-01-18 21:50:21 -08:00
parent e9ba104e6f
commit adfcf05fe4
2 changed files with 21 additions and 21 deletions
@@ -105,24 +105,6 @@ class RNUITextViewShadow: RCTShadowView {
range: NSMakeRange(0, string.length)
)
// if let textDecorationLine = child.textDecorationLine {
// if textDecorationLine == .underline || textDecorationLine == .underlineLineThrough {
// string.addAttribute(
// NSAttributedString.Key.underlineStyle,
// value: NSUnderlineStyle.single.rawValue,
// range: NSMakeRange(0, string.length)
// )
// }
//
// if textDecorationLine == .lineThrough || textDecorationLine == .underlineLineThrough {
// string.addAttribute(
// NSAttributedString.Key.strikethroughStyle,
// value: NSUnderlineStyle.single.rawValue,
// range: NSMakeRange(0, string.length)
// )
// }
// }
finalAttributedString.append(string)
}