From 14e9231c8ab95b710de5eba81809e250f3400527 Mon Sep 17 00:00:00 2001 From: Yuta1409 Date: Fri, 15 Mar 2024 09:57:27 +0100 Subject: [PATCH] fix: menu --- frontend/app_student/lib/menu/menu_view.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/app_student/lib/menu/menu_view.dart b/frontend/app_student/lib/menu/menu_view.dart index cb4894e..6124351 100644 --- a/frontend/app_student/lib/menu/menu_view.dart +++ b/frontend/app_student/lib/menu/menu_view.dart @@ -21,11 +21,11 @@ class MenuBarViewState extends State { 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; } }