Skip to content

Commit

Permalink
close the modal when close button gets clicked
Browse files Browse the repository at this point in the history
  • Loading branch information
Puneet-here committed Oct 20, 2022
1 parent 642ca84 commit db063d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/AddPersonalBankAccountPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ class AddPersonalBankAccountPage extends React.Component {
<ScreenWrapper>
<HeaderWithCloseButton
title={this.props.translate('bankAccount.addBankAccount')}
onCloseButtonPress={Navigation.goBack}
onCloseButtonPress={Navigation.dismissModal}
shouldShowBackButton
onBackButtonPress={Navigation.goBack}
/>
Expand Down

0 comments on commit db063d6

Please sign in to comment.