fix operations e tasks
This commit is contained in:
@@ -571,7 +571,7 @@ class _RichOperationCard extends StatelessWidget {
|
||||
),
|
||||
|
||||
// Tag Gestore (Agganciato dinamicamente al displayColor generato dall'esadecimale del DB!)
|
||||
if (operation.providerId != null)
|
||||
if (operation.provider != null)
|
||||
_MiniChip(
|
||||
label: operation.provider?.name ?? 'Gestore',
|
||||
color:
|
||||
|
||||
@@ -138,13 +138,13 @@ class OperationDetailsSection extends StatelessWidget {
|
||||
: 'Nessun gestore selezionato',
|
||||
style: TextStyle(
|
||||
color:
|
||||
(currentOp?.providerId == null ||
|
||||
currentOp!.providerId!.isEmpty)
|
||||
(currentOp?.provider == null ||
|
||||
currentOp!.provider!.name.isEmpty)
|
||||
? Colors.grey
|
||||
: null,
|
||||
fontWeight:
|
||||
(currentOp?.providerId == null ||
|
||||
currentOp!.providerId!.isEmpty)
|
||||
(currentOp?.provider == null ||
|
||||
currentOp!.provider!.name.isEmpty)
|
||||
? FontWeight.normal
|
||||
: FontWeight.bold,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user