Skip to content

Commit

Permalink
Merge pull request #17659 from honnamkuan/16986
Browse files Browse the repository at this point in the history
[Home Address] displays Arabic characters from left to right
  • Loading branch information
danieldoglas authored Apr 21, 2023
2 parents 41e8810 + 6a1b0ce commit e8cec43
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/MenuItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ const MenuItem = (props) => {
(props.shouldShowBasicTitle ? undefined : styles.textStrong),
(props.interactive && props.disabled ? {...styles.disabledText, ...styles.userSelectNone} : undefined),
styles.pre,
styles.ltr,
], props.titleStyle);
const descriptionVerticalMargin = props.shouldShowDescriptionOnTop ? styles.mb1 : styles.mt1;
const descriptionTextStyle = StyleUtils.combineStyles([
Expand Down Expand Up @@ -145,7 +146,7 @@ const MenuItem = (props) => {
style={titleTextStyle}
numberOfLines={1}
>
{props.title}
{StyleUtils.convertToLTR(props.title)}
</Text>
)}
{Boolean(props.description) && !props.shouldShowDescriptionOnTop && (
Expand Down

0 comments on commit e8cec43

Please sign in to comment.