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

(cherry picked from commit 0f58f34)
  • Loading branch information
luacmartins authored and OSBotify committed Jul 26, 2022
1 parent cd80a29 commit b8d6152
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 b8d6152

Please sign in to comment.