Skip to content

Commit

Permalink
Merge pull request #99 from praveenkrishna0512/bottom-nav
Browse files Browse the repository at this point in the history
bottom nav null
  • Loading branch information
summerthia02 authored Jul 25, 2022
2 parents 6a41a12 + 82278a9 commit df00f9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils/bottom_nav_bar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class MyBottomNavBar {
],
onTap: (index) {
String selectedRoute = widgetPages.elementAt(index);
Navigator.of(context).pushNamed(selectedRoute).then((_) => null);
Navigator.of(context).pushNamed(selectedRoute);
},
);
}
Expand Down

0 comments on commit df00f9b

Please sign in to comment.