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
+4 -1
View File
@@ -146,5 +146,8 @@
}
},
"serverError": "Erreur serveur - Veuillez contacter le support",
"retake": "Reprendre"
"retake": "Reprendre",
"completingDelivery": "Completion de la livraison...",
"markingAsUncompleted": "Marquage comme a livrer...",
"deliveryMarkedUncompleted": "Livraison marquee comme a livrer"
}