diff --git a/packages/react-native/ReactCommon/react/renderer/textlayoutmanager/platform/ios/react/renderer/textlayoutmanager/RCTAttributedTextUtils.mm b/packages/react-native/ReactCommon/react/renderer/textlayoutmanager/platform/ios/react/renderer/textlayoutmanager/RCTAttributedTextUtils.mm index 1a33fa977d82..791d8d129473 100644 --- a/packages/react-native/ReactCommon/react/renderer/textlayoutmanager/platform/ios/react/renderer/textlayoutmanager/RCTAttributedTextUtils.mm +++ b/packages/react-native/ReactCommon/react/renderer/textlayoutmanager/platform/ios/react/renderer/textlayoutmanager/RCTAttributedTextUtils.mm @@ -218,8 +218,8 @@ inline static CGFloat RCTEffectiveFontSizeMultiplierFromTextAttributes(const Tex // Paragraph Style NSMutableParagraphStyle *paragraphStyle = [NSMutableParagraphStyle new]; BOOL isParagraphStyleUsed = NO; - const bool isRTL = textAttributes.layoutDirection == LayoutDirection::RightToLeft; - if (textAttributes.alignment.has_value() || isRTL) { + if (textAttributes.alignment.has_value() || textAttributes.layoutDirection.has_value()) { + const bool isRTL = textAttributes.layoutDirection == LayoutDirection::RightToLeft; TextAlignment textAlignment = RCTResolveTextAlignment(textAttributes.alignment.value_or(TextAlignment::Natural), isRTL);