Skip to content

Commit 4f698cb

Browse files
committed
fix(authentication): replace goNamed with pushNamed for code verification navigation
- This change ensures that the user's navigation history is preserved when moving to the code verification page. - The modification affects both linking and non-linking contexts.
1 parent 2f6fdc4 commit 4f698cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/authentication/view/request_code_page.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ class _RequestCodeView extends StatelessWidget {
8282
} else if (state.status ==
8383
AuthenticationStatus.requestCodeSuccess) {
8484
// Navigate to the code verification page on success, passing the email
85-
context.goNamed(
85+
context.pushNamed(
8686
isLinkingContext
8787
? Routes.linkingVerifyCodeName
8888
: Routes.verifyCodeName,

0 commit comments

Comments
 (0)