fixes
This commit is contained in:
@@ -27,7 +27,7 @@ class OperationDetailsSection extends StatelessWidget {
|
||||
ProviderModel provider,
|
||||
String operationType,
|
||||
) {
|
||||
if (operationType == 'Custom') return true;
|
||||
if (operationType == 'Altro') return true;
|
||||
|
||||
// Controlliamo che il fornitore abbia il ruolo specifico nel suo array
|
||||
switch (operationType) {
|
||||
@@ -241,7 +241,7 @@ class OperationDetailsSection extends StatelessWidget {
|
||||
],
|
||||
|
||||
// 3. SCENARIO ENTERTAINMENT O CUSTOM (Testo libero)
|
||||
if (currentType == 'Entertainment' || currentType == 'Custom') ...[
|
||||
if (currentType == 'Entertainment' || currentType == 'Altro') ...[
|
||||
TextFormField(
|
||||
controller: freeTextSubtypeController,
|
||||
decoration: InputDecoration(
|
||||
@@ -258,7 +258,7 @@ class OperationDetailsSection extends StatelessWidget {
|
||||
'Energy',
|
||||
'Fin',
|
||||
'Entertainment',
|
||||
'Custom',
|
||||
'Altro',
|
||||
].contains(currentType)) ...[
|
||||
const SizedBox(height: 8),
|
||||
durationQuickPicks, // Passiamo i chips dall'esterno
|
||||
|
||||
Reference in New Issue
Block a user