diff --git a/flutter/lib/features/inventory/presentation/consumption_history_screen.dart b/flutter/lib/features/inventory/presentation/consumption_history_screen.dart index 17f8005d..e4dd3480 100644 --- a/flutter/lib/features/inventory/presentation/consumption_history_screen.dart +++ b/flutter/lib/features/inventory/presentation/consumption_history_screen.dart @@ -31,7 +31,7 @@ class ConsumptionHistoryScreen extends ConsumerWidget { data: (history) { if (history.isEmpty) { return const EmptyStateView( - message: 'Ingen konsumtionshistorik finns.', + title: 'Ingen konsumtionshistorik finns.', ); } return ListView.separated( diff --git a/flutter/lib/features/inventory/presentation/inventory_screen.dart b/flutter/lib/features/inventory/presentation/inventory_screen.dart index 2050c5fc..6fe87383 100644 --- a/flutter/lib/features/inventory/presentation/inventory_screen.dart +++ b/flutter/lib/features/inventory/presentation/inventory_screen.dart @@ -22,7 +22,7 @@ class InventoryScreen extends ConsumerWidget { data: (items) { if (items.isEmpty) { return EmptyStateView( - message: 'Inventariet är tomt.', + title: 'Inventariet är tomt.', action: FloatingActionButton.extended( onPressed: () => context.push('/inventory/create'), icon: const Icon(Icons.add),