Skip to content

Commit 1727d88

Browse files
authored
Merge pull request #64 from flutter-news-app-full-source-code/fix_auth_routing
fix(authentication): replace `goNamed` with `pushNamed` for code veri…
2 parents 2f6fdc4 + 4f698cb commit 1727d88

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)