Skip to content

Commit

Permalink
chore(deriv_auth): change navigation to signupPage in verifyemailpage
Browse files Browse the repository at this point in the history
  • Loading branch information
ahrar-deriv committed Feb 28, 2024
1 parent d4eb573 commit 73fc724
Showing 1 changed file with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import 'package:deriv_auth/deriv_auth.dart';
import 'package:deriv_auth/features/single_entry/features/signup/pages/signup_page.dart';
import 'package:flutter/material.dart';

/// Verify email page
Expand Down Expand Up @@ -29,12 +30,8 @@ class _VerifyEmailPageState extends State<VerifyEmailPage> {
Navigator.of(context).pushReplacement(MaterialPageRoute<void>(
builder: (BuildContext context) => DerivEmailNotReceivedLayout(
onReEnterEmailPressed: () => Navigator.of(context).pushReplacement(
MaterialPageRoute<void>(
builder: (BuildContext context) => DerivVerifyEmailLayout(
email: widget.email,
onEmailNotReceivedPressed: () =>
onEmailNotReceivedPressed(context),
),
MaterialPageRoute<Widget>(
builder: (BuildContext context) => const SignupPage(),
),
),
),
Expand Down

0 comments on commit 73fc724

Please sign in to comment.