brand theme, allot of features, allot of bug fixes

This commit is contained in:
2025-11-26 18:39:45 -05:00
parent 2ecd1c5b4e
commit 8e6aa6ea8c
10 changed files with 129 additions and 65 deletions
+6 -1
View File
@@ -292,6 +292,11 @@ class _DeliveriesPageState extends ConsumerState<DeliveriesPage> {
String action,
String? token,
) async {
// Prevent any actions on warehouse delivery except map navigation
if (delivery.isWarehouseDelivery && action != 'map') {
return;
}
if (token == null) {
final l10n = AppLocalizations.of(context)!;
ToastHelper.showError(context, l10n.authenticationRequired);
@@ -621,7 +626,7 @@ class DeliveryCard extends StatelessWidget {
const SizedBox(height: 12),
if (delivery.deliveryAddress != null)
Text(
delivery.deliveryAddress!.formattedAddress,
delivery.deliveryAddress!.formattedAddress ?? '',
style: Theme.of(context).textTheme.bodySmall,
maxLines: 2,
overflow: TextOverflow.ellipsis,
+1
View File
@@ -520,6 +520,7 @@ class _RoutesPageState extends ConsumerState<RoutesPage> {
appBar: AppBar(
title: Text(l10n.deliveryRoutes),
elevation: 0,
scrolledUnderElevation: 0,
actions: [
IconButton(
icon: (routesData.isLoading || allDeliveriesData.isLoading)