Skip to content

Commit

Permalink
Update main.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
radicand authored Oct 7, 2024
1 parent e7939e8 commit 4dedf4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class CookbookApp extends StatelessWidget {
// root provides an Overlay needed for the adaptive navigation scaffold and
// a root Navigator to show the About box
builder: (context, state, child) => Navigator(
onPopPage: (route, dynamic result) {
onDidRemovePage: (route, dynamic result) {
route.didPop(result);
return false; // don't pop the single page on the root navigator
},
Expand Down

0 comments on commit 4dedf4d

Please sign in to comment.