Skip to content

Commit

Permalink
Merge pull request #52091 from Nodebrute/fixbackbutton
Browse files Browse the repository at this point in the history
Dismiss RHP on back button click from Issue New Card page
  • Loading branch information
thienlnam authored Nov 6, 2024
2 parents 9980299 + 6fda5b6 commit 8c27e3c
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,10 @@ function WorkspaceExpensifyCardBankAccounts({route}: WorkspaceExpensifyCardBankA
text={translate('workspace.expensifyCard.gotIt')}
style={[styles.m5]}
pressOnEnter
onPress={() => Navigation.navigate(ROUTES.WORKSPACE_EXPENSIFY_CARD_ISSUE_NEW.getRoute(policyID))}
onPress={() => {
Navigation.dismissModal();
Navigation.navigate(ROUTES.WORKSPACE_EXPENSIFY_CARD_ISSUE_NEW.getRoute(policyID));
}}
/>
</>
);
Expand Down

0 comments on commit 8c27e3c

Please sign in to comment.