Skip to content

Commit

Permalink
Merge pull request Expensify#37618 from ikevin127/fix/36673
Browse files Browse the repository at this point in the history
Back button in SAML page doesn't work to go back to log in page
  • Loading branch information
MariaHCD authored Mar 5, 2024
2 parents eb4683d + 838de4d commit a8ece90
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/pages/signin/SAMLSignInPage/index.native.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ function SAMLSignInPage({credentials, account}: SAMLSignInPageProps) {
title=""
onBackButtonPress={() => {
Session.clearSignInData();
Navigation.navigate(ROUTES.HOME);
Navigation.isNavigationReady().then(() => {
Navigation.goBack();
});
}}
/>
)}
Expand Down

0 comments on commit a8ece90

Please sign in to comment.