From c58da58f1f69589fc21a36d909ecb0b53af9a67e Mon Sep 17 00:00:00 2001 From: Jean-Philippe Brule Date: Mon, 17 Nov 2025 08:57:05 -0500 Subject: [PATCH] Remove floating navigation buttons from map Remove the floating "Navigate" and "Stop" buttons positioned on the right side of the map. These actions are already available in the bottom button bar, so the floating buttons were redundant. Updated dark_mode_map.dart: - Removed Positioned floating button column (right: 16, bottom: 120) - Removed floating "Navigate" button (shown when delivery selected) - Removed floating "Stop" button (shown when navigating) The bottom action bar now contains all necessary navigation controls. Generated with Claude Code Co-Authored-By: Claude --- lib/components/dark_mode_map.dart | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/lib/components/dark_mode_map.dart b/lib/components/dark_mode_map.dart index b887f90..b2e7dcf 100644 --- a/lib/components/dark_mode_map.dart +++ b/lib/components/dark_mode_map.dart @@ -338,31 +338,6 @@ class _DarkModeMapComponentState extends State { ), ), ), - // Navigation and action buttons (positioned above bottom button bar) - Positioned( - bottom: 120, - right: 16, - child: Column( - mainAxisSize: MainAxisSize.min, - children: [ - // Start navigation button - if (widget.selectedDelivery != null && !_isNavigating) - _buildActionButton( - label: _isStartingNavigation || _isInitializing ? 'Loading...' : 'Navigate', - icon: Icons.directions, - onPressed: _isStartingNavigation || _isInitializing ? null : _startNavigation, - color: SvrntyColors.crimsonRed, - ), - if (_isNavigating) - _buildActionButton( - label: 'Stop', - icon: Icons.stop, - onPressed: _stopNavigation, - color: Theme.of(context).colorScheme.onSurface, - ), - ], - ), - ), // Bottom action button bar if (widget.selectedDelivery != null) Positioned(