Skip to content

Commit

Permalink
Fixed nav bar widget destinations
Browse files Browse the repository at this point in the history
  • Loading branch information
wdan31 committed Oct 26, 2024
1 parent a2b8421 commit f2a3fb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flutter_app/lib/widgets/nav_bar_widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class NavBar extends StatelessWidget {
onTap: (int index) {
switch (index) {
case 0:
Navigator.pushReplacementNamed(context, '/logs');
Navigator.pushReplacementNamed(context, '/');
break;
case 1:
Navigator.popAndPushNamed(context, '/logs');
Expand Down

0 comments on commit f2a3fb4

Please sign in to comment.