Jonatas

prevent throws errors on nested navigation

@@ -948,10 +948,10 @@ extension GetNavigation on GetInterface { @@ -948,10 +948,10 @@ extension GetNavigation on GetInterface {
948 GlobalKey<NavigatorState> _key; 948 GlobalKey<NavigatorState> _key;
949 if (k == null) { 949 if (k == null) {
950 _key = key; 950 _key = key;
951 - }  
952 - if (!keys.containsKey(k)) {  
953 - throw 'Route id ($k) not found';  
954 } else { 951 } else {
  952 + if (!keys.containsKey(k)) {
  953 + throw 'Route id ($k) not found';
  954 + }
955 _key = keys[k]; 955 _key = keys[k];
956 } 956 }
957 957