Skip to content

Commit

Permalink
Merge pull request #11988 from Puneet-here/navigation-close-button
Browse files Browse the repository at this point in the history
Fix: Pressing ❌ doesn't dismiss the modal
  • Loading branch information
iwiznia authored Oct 21, 2022
2 parents c2775d8 + db063d6 commit b2acb8f
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 b2acb8f

Please sign in to comment.