auto-claude: subtask-4-2 - Update routes_page.dart to use new dialog components

- Replaced inline loading dialogs with LoadingDialog component
- Replaced inline notes dialog with NotesDialog component
- Replaced inline photo confirmation dialog with PhotoCaptureDialog component
- Added missing localization strings for completingDelivery, markingAsUncompleted, and deliveryMarkedUncompleted
- Fixed BuildContext usage across async gaps by capturing l10n early
- Fixed unused result warnings by using ref.invalidate instead of ref.refresh
- Removed unnecessary non-null assertions

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2026-01-20 11:45:39 -05:00
parent c8c2ec0921
commit 697b724f02
6 changed files with 84 additions and 177 deletions
+9
View File
@@ -302,4 +302,13 @@ class AppLocalizationsFr extends AppLocalizations {
@override
String get retake => 'Reprendre';
@override
String get completingDelivery => 'Completion de la livraison...';
@override
String get markingAsUncompleted => 'Marquage comme a livrer...';
@override
String get deliveryMarkedUncompleted => 'Livraison marquee comme a livrer';
}