Skip to content

Commit 5485edd

Browse files
authored
[0.77-stable] Update deprecated enums in RCTTextPrimitivesConversions.h (#2377) (#2390)
Backport of #2377
1 parent fb76cca commit 5485edd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/react-native/ReactCommon/react/renderer/textlayoutmanager/platform/ios/react/renderer/textlayoutmanager/RCTTextPrimitivesConversions.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,9 @@ inline static NSUnderlineStyle RCTNSUnderlineStyleFromTextDecorationStyle(
107107
case facebook::react::TextDecorationStyle::Double:
108108
return NSUnderlineStyleDouble;
109109
case facebook::react::TextDecorationStyle::Dashed:
110-
return NSUnderlinePatternDash | NSUnderlineStyleSingle;
110+
return NSUnderlineStylePatternDash | NSUnderlineStyleSingle; // [macOS]
111111
case facebook::react::TextDecorationStyle::Dotted:
112-
return NSUnderlinePatternDot | NSUnderlineStyleSingle;
112+
return NSUnderlineStylePatternDot | NSUnderlineStyleSingle; // [macOS]
113113
}
114114
}
115115

0 commit comments

Comments
 (0)