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
Jonatas
2020-10-09 12:16:12 -0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
092d161cf773a7491454382a078f2376160b5939
092d161c
1 parent
85700051
prevent throws errors on nested navigation
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
packages/get_navigation/lib/src/extension_navigation.dart
packages/get_navigation/lib/src/extension_navigation.dart
View file @
092d161
...
...
@@ -948,10 +948,10 @@ extension GetNavigation on GetInterface {
GlobalKey
<
NavigatorState
>
_key
;
if
(
k
==
null
)
{
_key
=
key
;
}
if
(!
keys
.
containsKey
(
k
))
{
throw
'Route id (
$k
) not found'
;
}
else
{
if
(!
keys
.
containsKey
(
k
))
{
throw
'Route id (
$k
) not found'
;
}
_key
=
keys
[
k
];
}
...
...
Please
register
or
login
to post a comment