From 35e9ddbed5cbd2a99a37bda0c5817049182854bb Mon Sep 17 00:00:00 2001 From: Pierre Date: Mon, 26 Jan 2026 16:06:51 +0100 Subject: [PATCH] fix: Remplacer NavigationHelper par NavigationConfig dans map_page.dart MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit NavigationHelper a été supprimé lors du refactoring #74. Utilisation de NavigationConfig à la place. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- app/lib/presentation/pages/map_page.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) mode change 100644 => 100755 app/lib/presentation/pages/map_page.dart 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,