Skip to content

Commit

Permalink
fix: apply flex1 to MoneyRequestView
Browse files Browse the repository at this point in the history
  • Loading branch information
BeeMargarida committed Aug 22, 2023
1 parent 92ec3f8 commit 2aebf09
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/ReportActionItem/MoneyRequestView.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ function MoneyRequestView({report, parentReport, shouldShowHorizontalRule, polic
title={transactionDescription}
disabled={isSettled || !canEdit}
shouldShowRightIcon={canEdit}
titleStyle={styles.flex1}
onPress={() => Navigation.navigate(ROUTES.getEditRequestRoute(report.reportID, CONST.EDIT_REQUEST_FIELD.DESCRIPTION))}
/>
</OfflineWithFeedback>
Expand All @@ -149,6 +150,7 @@ function MoneyRequestView({report, parentReport, shouldShowHorizontalRule, polic
title={transactionDate}
disabled={isSettled || !canEdit}
shouldShowRightIcon={canEdit}
titleStyle={styles.flex1}
onPress={() => Navigation.navigate(ROUTES.getEditRequestRoute(report.reportID, CONST.EDIT_REQUEST_FIELD.DATE))}
/>
</OfflineWithFeedback>
Expand Down

0 comments on commit 2aebf09

Please sign in to comment.