diff --git a/app/lib/presentation/pages/map_page.dart b/app/lib/presentation/pages/map_page.dart old mode 100644 new mode 100755 index eee3be88..be939d6c --- a/app/lib/presentation/pages/map_page.dart +++ b/app/lib/presentation/pages/map_page.dart @@ -8,6 +8,7 @@ import 'dart:math' as math; import 'dart:async'; import 'package:geosector_app/presentation/widgets/mapbox_map.dart'; import 'package:geosector_app/presentation/widgets/app_scaffold.dart'; +import 'package:geosector_app/core/config/navigation_config.dart'; import 'package:geosector_app/core/constants/app_keys.dart'; import 'package:geosector_app/core/services/location_service.dart'; import 'package:geosector_app/core/data/models/sector_model.dart'; @@ -36,7 +37,7 @@ class MapPage extends StatelessWidget { // Obtenir l'index de navigation selon la route actuelle final currentRoute = GoRouterState.of(context).uri.toString(); - final selectedIndex = NavigationHelper.getIndexFromRoute(currentRoute, isAdmin); + final selectedIndex = NavigationConfig.getIndexFromRoute(currentRoute, isAdmin); return AppScaffold( selectedIndex: selectedIndex,