Skip to content

Commit

Permalink
add everything in fragment
Browse files Browse the repository at this point in the history
  • Loading branch information
techievivek committed Oct 19, 2023
1 parent 9eb037b commit 3fdc0df
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/pages/home/report/ReportActionItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -366,16 +366,16 @@ function ReportActionItem(props) {
<ReportActionItemBasicMessage
message={props.translate(paymentType === CONST.IOU.PAYMENT_TYPE.EXPENSIFY ? 'iou.waitingOnEnabledWallet' : 'iou.waitingOnBankAccount', {submitterDisplayName})}
>
{shouldShowAddCreditBankAccountButton && (
<Button
success
style={[styles.w100, styles.requestPreviewBox]}
text={props.translate('bankAccount.addBankAccount')}
onPress={() => BankAccounts.openPersonalBankAccountSetupView(props.report.reportID)}
pressOnEnter
/>
)}
<>
{shouldShowAddCreditBankAccountButton && (
<Button
success
style={[styles.w100, styles.requestPreviewBox]}
text={props.translate('bankAccount.addBankAccount')}
onPress={() => BankAccounts.openPersonalBankAccountSetupView(props.report.reportID)}
pressOnEnter
/>
)}
{shouldShowEnableWalletButton && (
<KYCWall
onSuccessfulKYC={() => Navigation.navigate(ROUTES.ENABLE_PAYMENTS)}
Expand Down

0 comments on commit 3fdc0df

Please sign in to comment.