Skip to content

Commit 4844731

Browse files
committed
Fix namespace for ReactNativeFeatureFlags in RCTTextView
1 parent b044af9 commit 4844731

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/react-native/Libraries/Text/Text/RCTTextView.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ - (void)drawRect:(CGRect)rect
156156

157157
NSRange glyphRange = [layoutManager glyphRangeForTextContainer:textContainer];
158158

159-
if (ReactNativeFeatureFlags::enableLineHeightCentering()) {
159+
if (facebook::react::ReactNativeFeatureFlags::enableLineHeightCentering()) {
160160
CGPoint drawingPoint = [self calculateDrawingPointWithTextStorage:_textStorage contentFrame:_contentFrame];
161161
[layoutManager drawBackgroundForGlyphRange:glyphRange atPoint:drawingPoint];
162162
[layoutManager drawGlyphsForGlyphRange:glyphRange atPoint:drawingPoint];

0 commit comments

Comments
 (0)