Skip to content

Commit

Permalink
Merge pull request #33216 from mkhutornyi/fix-32415
Browse files Browse the repository at this point in the history
update merchant line text size, receipt border radius on preview card
  • Loading branch information
pecanoro authored Dec 26, 2023
2 parents d65ad48 + 664bcd5 commit bcee124
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/ReportActionItem/MoneyRequestPreview.js
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ function MoneyRequestPreview(props) {
{!isCurrentUserManager && props.shouldShowPendingConversionMessage && (
<Text style={[styles.textLabel, styles.colorMuted]}>{translate('iou.pendingConversionMessage')}</Text>
)}
{(shouldShowDescription || shouldShowMerchant) && <Text style={[styles.textLabelSupporting]}>{merchantOrDescription}</Text>}
{(shouldShowDescription || shouldShowMerchant) && <Text style={[styles.textLabelSupporting, styles.textNormal]}>{merchantOrDescription}</Text>}
</View>
{props.isBillSplit && !_.isEmpty(participantAccountIDs) && requestAmount > 0 && (
<Text style={[styles.textLabel, styles.colorMuted, styles.ml1, styles.amountSplitPadding]}>
Expand Down
2 changes: 1 addition & 1 deletion src/components/ReportActionItem/ReportPreview.js
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ function ReportPreview(props) {
{!isScanning && (numberOfRequests > 1 || hasReceipts) && (
<View style={styles.flexRow}>
<View style={[styles.flex1, styles.flexRow, styles.alignItemsCenter]}>
<Text style={[styles.textLabelSupporting, styles.mb1, styles.lh20]}>{previewSubtitle || moneyRequestComment}</Text>
<Text style={[styles.textLabelSupporting, styles.textNormal, styles.mb1, styles.lh20]}>{previewSubtitle || moneyRequestComment}</Text>
</View>
</View>
)}
Expand Down
3 changes: 1 addition & 2 deletions src/styles/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3786,8 +3786,7 @@ const styles = (theme: ThemeColors) =>
reportActionItemImages: {
flexDirection: 'row',
margin: 4,
borderTopLeftRadius: variables.componentBorderRadiusLarge,
borderTopRightRadius: variables.componentBorderRadiusLarge,
borderRadius: variables.componentBorderRadiusLarge,
overflow: 'hidden',
height: variables.reportActionImagesSingleImageHeight,
},
Expand Down

0 comments on commit bcee124

Please sign in to comment.