Skip to content

Commit

Permalink
Merge pull request #25952 from koko57/fix/25931-update-styles-for-the…
Browse files Browse the repository at this point in the history
…-requestee

fix: change styles for the requestee
  • Loading branch information
mountiny authored Aug 30, 2023
2 parents 93bde20 + 44c6114 commit bb432aa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/ReportActionItem/MoneyRequestView.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ function MoneyRequestView({report, parentReport, shouldShowHorizontalRule, trans
titleIcon={Expensicons.Checkmark}
description={description}
titleStyle={styles.newKansasLarge}
disabled={isSettled || !canEdit}
interactive={canEdit}
shouldShowRightIcon={canEdit}
onPress={() => Navigation.navigate(ROUTES.getEditRequestRoute(report.reportID, CONST.EDIT_REQUEST_FIELD.AMOUNT))}
/>
Expand All @@ -126,7 +126,7 @@ function MoneyRequestView({report, parentReport, shouldShowHorizontalRule, trans
<MenuItemWithTopDescription
description={translate('common.description')}
title={transactionDescription}
disabled={isSettled || !canEdit}
interactive={canEdit}
shouldShowRightIcon={canEdit}
titleStyle={styles.flex1}
onPress={() => Navigation.navigate(ROUTES.getEditRequestRoute(report.reportID, CONST.EDIT_REQUEST_FIELD.DESCRIPTION))}
Expand All @@ -136,7 +136,7 @@ function MoneyRequestView({report, parentReport, shouldShowHorizontalRule, trans
<MenuItemWithTopDescription
description={translate('common.date')}
title={transactionDate}
disabled={isSettled || !canEdit}
interactive={canEdit}
shouldShowRightIcon={canEdit}
titleStyle={styles.flex1}
onPress={() => Navigation.navigate(ROUTES.getEditRequestRoute(report.reportID, CONST.EDIT_REQUEST_FIELD.DATE))}
Expand All @@ -146,7 +146,7 @@ function MoneyRequestView({report, parentReport, shouldShowHorizontalRule, trans
<MenuItemWithTopDescription
description={isDistanceRequest ? translate('common.distance') : translate('common.merchant')}
title={transactionMerchant}
disabled={isSettled || !canEdit}
interactive={canEdit}
shouldShowRightIcon={canEdit}
titleStyle={styles.flex1}
onPress={() => Navigation.navigate(ROUTES.getEditRequestRoute(report.reportID, CONST.EDIT_REQUEST_FIELD.MERCHANT))}
Expand Down

0 comments on commit bb432aa

Please sign in to comment.