Skip to content

Commit

Permalink
use font size small
Browse files Browse the repository at this point in the history
  • Loading branch information
rushatgabhane committed May 30, 2024
1 parent 56ed4e1 commit c4b5df5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
6 changes: 3 additions & 3 deletions src/components/ReportActionItem/TripDetailsView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,14 @@ function ReservationView({reservation}: ReservationViewProps) {
return (
<View style={styles.gap1}>
<View style={[styles.flexRow, styles.alignItemsCenter, styles.gap2]}>
<Text style={[styles.textNormalBold, styles.lh20, shouldUseNarrowLayout && styles.flex1]}>{formatAirportInfo(reservation.start)}</Text>
<Text style={[styles.textStrong, styles.lh20, shouldUseNarrowLayout && styles.flex1]}>{formatAirportInfo(reservation.start)}</Text>
<Icon
src={Expensicons.ArrowRightLong}
width={variables.iconSizeSmall}
height={variables.iconSizeSmall}
fill={theme.icon}
/>
<Text style={[styles.textNormalBold, styles.lh20, shouldUseNarrowLayout && styles.flex1]}>{formatAirportInfo(reservation.end)}</Text>
<Text style={[styles.textStrong, styles.lh20, shouldUseNarrowLayout && styles.flex1]}>{formatAirportInfo(reservation.end)}</Text>
</View>
{bottomDescription && <Text style={[styles.textSupportingSmallSize, styles.lh14]}>{bottomDescription}</Text>}
</View>
Expand All @@ -99,7 +99,7 @@ function ReservationView({reservation}: ReservationViewProps) {
<View style={styles.gap1}>
<Text
numberOfLines={1}
style={[styles.textNormalBold, styles.lh20]}
style={[styles.textStrong, styles.lh20]}
>
{reservation.type === CONST.RESERVATION_TYPE.CAR ? reservation.carInfo?.name : reservation.start.longName}
</Text>
Expand Down
5 changes: 0 additions & 5 deletions src/styles/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -413,11 +413,6 @@ const styles = (theme: ThemeColors) =>
fontSize: variables.fontSizeExtraSmall,
},

textNormalBold: {
fontSize: variables.fontSizeNormal,
fontWeight: 'bold',
},

textNormal: {
fontSize: variables.fontSizeNormal,
},
Expand Down

0 comments on commit c4b5df5

Please sign in to comment.