Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
fluttertpc_get
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Ahmed Fwela
2021-10-07 18:15:50 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
00525eece9869e6591c6b8c92dbab1d7402cdbdb
00525eec
1 parent
206754ef
added forgotten backButtonPopMode
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
lib/get_navigation/src/nav2/get_router_delegate.dart
lib/get_navigation/src/nav2/get_router_delegate.dart
View file @
00525ee
...
...
@@ -401,12 +401,12 @@ class GetDelegate extends RouterDelegate<GetNavConfig>
@override
Future
<
bool
>
popRoute
({
Object
?
result
,
PopMode
popMode
=
PopMode
.
History
,
PopMode
?
popMode
,
})
async
{
//Returning false will cause the entire app to be popped.
final
wasPopup
=
await
handlePopupRoutes
(
result:
result
);
if
(
wasPopup
)
return
true
;
final
_popped
=
await
_pop
(
popMode
);
final
_popped
=
await
_pop
(
popMode
??
backButtonPopMode
);
refresh
();
if
(
_popped
!=
null
)
{
//emulate the old pop with result
...
...
Please
register
or
login
to post a comment