This commit is contained in:
brontomark committed 2026-06-03 13:20:22 +02:00
1 parent a7fd37a894
commit 99ab7abf6e
2 files changed
+4 -2

No files matched your search

@@ -417,7 +417,7 @@ class _ProviderFormScreenState extends State<ProviderFormScreen> {
BlocBuilder<ProviderFormCubit, ProviderFormState>(
builder: (context, state) {
// Se non ha un colore, usiamo il BlueGrey di default
final currentColorHex = state.provider?.colorHex ?? '#607D8B';
final currentColorHex = state.provider.colorHex ?? '#607D8B';
return Wrap(
spacing: 12,
@@ -280,7 +280,9 @@ class _RichOperationCard extends StatelessWidget {
),
Expanded(
child: Text(
operation.reference ?? 'Senza Riferimento',
operation.reference.isEmpty
? 'Nessuna Riferimento'
: operation.reference,
style: theme.textTheme.labelSmall?.copyWith(
color: Colors.grey[600],
),