Showing
1 changed file
with
3 additions
and
3 deletions
@@ -544,11 +544,11 @@ extension GetNavigation on GetInterface { | @@ -544,11 +544,11 @@ extension GetNavigation on GetInterface { | ||
544 | bool preventDuplicates = true, | 544 | bool preventDuplicates = true, |
545 | }) { | 545 | }) { |
546 | Get.parameters.forEach((key, value) { | 546 | Get.parameters.forEach((key, value) { |
547 | - if (page.contains('?')){ | 547 | + if (page.contains('?')) { |
548 | page = page + "&$key=$value"; | 548 | page = page + "&$key=$value"; |
549 | - }else{ | 549 | + } else { |
550 | page = page + "?$key=$value"; | 550 | page = page + "?$key=$value"; |
551 | - }; | 551 | + } |
552 | }); | 552 | }); |
553 | if (preventDuplicates && page == currentRoute) { | 553 | if (preventDuplicates && page == currentRoute) { |
554 | return null; | 554 | return null; |
-
Please register or login to post a comment