Skip to content

Commit

Permalink
Merge pull request #10123 from Expensify/ckt_blocker_fixNewLineText
Browse files Browse the repository at this point in the history
Fix line breaks not working properly
  • Loading branch information
luacmartins authored Jul 26, 2022
2 parents 7ac50ce + ce229bc commit 0f58f34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/home/report/ReportActionItemFragment.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,9 @@ const ReportActionItemFragment = (props) => {
return (
<Text
selectable={!canUseTouchScreen() || !props.isSmallScreenWidth}
style={[EmojiUtils.containsOnlyEmojis(props.fragment.text) ? styles.onlyEmojisText : undefined, styles.ltr]}
style={[EmojiUtils.containsOnlyEmojis(text) ? styles.onlyEmojisText : undefined, styles.ltr]}
>
{StyleUtils.convertToLTR(Str.htmlDecode(props.fragment.text))}
{StyleUtils.convertToLTR(Str.htmlDecode(text))}
{props.fragment.isEdited && (
<Text
fontSize={variables.fontSizeSmall}
Expand Down

0 comments on commit 0f58f34

Please sign in to comment.