Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
bistaastha committed Jan 7, 2025
1 parent a531116 commit 8af0e15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/auth/sign-in/sign-in.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -280,13 +280,13 @@ export class SignInPage implements OnInit {
}

ionViewWillEnter(): void {
const priority = BackButtonActionPriority.ABSOLUTE;
this.hardwareBackButtonAction = this.platformHandlerService.registerBackButtonAction(priority, this.goBack);
if (this.activatedRoute.snapshot.params.email) {
this.currentStep = SignInPageState.ENTER_PASSWORD;
} else {
this.currentStep = SignInPageState.SELECT_SIGN_IN_METHOD;
}
const priority = BackButtonActionPriority.ABSOLUTE;
this.hardwareBackButtonAction = this.platformHandlerService.registerBackButtonAction(priority, this.goBack);
}

changeState(state: SignInPageState): void {
Expand Down

0 comments on commit 8af0e15

Please sign in to comment.