Showing
1 changed file
with
2 additions
and
2 deletions
@@ -356,7 +356,7 @@ class GetDelegate extends RouterDelegate<GetNavConfig> | @@ -356,7 +356,7 @@ class GetDelegate extends RouterDelegate<GetNavConfig> | ||
356 | /// DOES NOT remove the [fullRoute] | 356 | /// DOES NOT remove the [fullRoute] |
357 | Future<void> backUntil( | 357 | Future<void> backUntil( |
358 | String fullRoute, { | 358 | String fullRoute, { |
359 | - PopMode popMode = PopMode.Page, | 359 | + PopMode popMode = PopMode.History, |
360 | }) async { | 360 | }) async { |
361 | // remove history or page entries until you meet route | 361 | // remove history or page entries until you meet route |
362 | var iterator = currentConfiguration; | 362 | var iterator = currentConfiguration; |
@@ -387,7 +387,7 @@ class GetDelegate extends RouterDelegate<GetNavConfig> | @@ -387,7 +387,7 @@ class GetDelegate extends RouterDelegate<GetNavConfig> | ||
387 | @override | 387 | @override |
388 | Future<bool> popRoute({ | 388 | Future<bool> popRoute({ |
389 | Object? result, | 389 | Object? result, |
390 | - PopMode popMode = PopMode.Page, | 390 | + PopMode popMode = PopMode.History, |
391 | }) async { | 391 | }) async { |
392 | //Returning false will cause the entire app to be popped. | 392 | //Returning false will cause the entire app to be popped. |
393 | final wasPopup = await handlePopupRoutes(result: result); | 393 | final wasPopup = await handlePopupRoutes(result: result); |
-
Please register or login to post a comment