Skip to content

Commit

Permalink
fix: Back button not work when open in a new shell route (#1056)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdlukaa authored Apr 19, 2024
2 parents c62650b + f709acf commit 52c0b0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/lib/screens/navigation/navigation_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ class _NavigationViewPageState extends State<NavigationViewPage>
label: '',
child: Button(
onPressed: () {
context.go('/navigation_view');
context.push('/navigation_view');
},
child: const Text('Open in a new shell route'),
),
Expand Down

0 comments on commit 52c0b0e

Please sign in to comment.