Skip to content

Commit

Permalink
fix: menu
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuta1409 committed Mar 15, 2024
1 parent caf89bb commit 14e9231
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/app_student/lib/menu/menu_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ class MenuBarViewState extends State<MenuBarView> {

void _setSelectedIndex() {
final route = GoRouter.of(context).overridePlatformDefaultLocation;
if(route == AppRoutes.loginPage){
if (route == AppRoutes.loginPage) {
_selectedIndex = 0;
} else if(route == AppRoutes.schedulePage){
} else if (route == AppRoutes.schedulePage) {
_selectedIndex = 1;
} else if(route == AppRoutes.profilPage){
} else if (route == AppRoutes.profilPage) {
_selectedIndex = 2;
}
}
Expand Down

0 comments on commit 14e9231

Please sign in to comment.