This commit is contained in:
2026-06-03 13:20:22 +02:00
parent a7fd37a894
commit 99ab7abf6e
2 changed files with 4 additions and 2 deletions

View File

@@ -417,7 +417,7 @@ class _ProviderFormScreenState extends State<ProviderFormScreen> {
BlocBuilder<ProviderFormCubit, ProviderFormState>( BlocBuilder<ProviderFormCubit, ProviderFormState>(
builder: (context, state) { builder: (context, state) {
// Se non ha un colore, usiamo il BlueGrey di default // Se non ha un colore, usiamo il BlueGrey di default
final currentColorHex = state.provider?.colorHex ?? '#607D8B'; final currentColorHex = state.provider.colorHex ?? '#607D8B';
return Wrap( return Wrap(
spacing: 12, spacing: 12,

View File

@@ -280,7 +280,9 @@ class _RichOperationCard extends StatelessWidget {
), ),
Expanded( Expanded(
child: Text( child: Text(
operation.reference ?? 'Senza Riferimento', operation.reference.isEmpty
? 'Nessuna Riferimento'
: operation.reference,
style: theme.textTheme.labelSmall?.copyWith( style: theme.textTheme.labelSmall?.copyWith(
color: Colors.grey[600], color: Colors.grey[600],
), ),