Skip to content

Commit

Permalink
Merge pull request #5941 from parasharrajat/chat-ui
Browse files Browse the repository at this point in the history
fix: IOU quote UI
  • Loading branch information
chiragsalian authored Oct 19, 2021
2 parents d0c166e + dc90a97 commit d0abb52
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions src/components/ReportActionItem/IOUQuote.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,20 +33,18 @@ const IOUQuote = ({
}) => (
<View style={[styles.chatItemMessage]}>
{_.map(action.message, (fragment, index) => (
<View key={`iouQuote-${action.sequenceNumber}-${index}`}>
<View style={[styles.blockquote]}>
<Text style={[styles.chatItemMessage]}>
{fragment.text}
<View key={`iouQuote-${action.sequenceNumber}-${index}`} style={[styles.alignItemsStart, styles.blockquote]}>
<Text style={[styles.chatItemMessage]}>
{fragment.text}
</Text>
{shouldShowViewDetailsLink && (
<Text
style={[styles.chatItemMessageLink, styles.alignSelfStart]}
onPress={onViewDetailsPressed}
>
{translate('iou.viewDetails')}
</Text>
{shouldShowViewDetailsLink && (
<Text
style={[styles.chatItemMessageLink]}
onPress={onViewDetailsPressed}
>
{translate('iou.viewDetails')}
</Text>
)}
</View>
)}
</View>
))}
</View>
Expand Down

0 comments on commit d0abb52

Please sign in to comment.