Skip to content

Commit

Permalink
Merge pull request Expensify#13827 from Expensify/alberto-cursor
Browse files Browse the repository at this point in the history
Style cursor correctly for IOU splits
  • Loading branch information
MonilBhavsar committed Dec 27, 2022
2 parents 6a56886 + 37cb197 commit f2a01fd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/ReportActionItem/IOUQuote.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,10 @@ const IOUQuote = props => (
{/* Get first word of IOU message */}
{Str.htmlDecode(fragment.text.split(' ')[0])}
</Text>
<Text style={[styles.chatItemMessage, styles.cursorPointer]}>
<Text style={[styles.chatItemMessage, props.shouldAllowViewDetails
? styles.cursorPointer
: styles.cursorDefault]}
>
{/* Get remainder of IOU message */}
{Str.htmlDecode(fragment.text.substring(fragment.text.indexOf(' ')))}
</Text>
Expand Down

0 comments on commit f2a01fd

Please sign in to comment.