Hide format when exporting as JSON
This commit is contained in:
parent
2123b1684f
commit
5546ccefed
|
|
@ -135,6 +135,7 @@ class _ImportExportState extends State<ImportExport> {
|
||||||
.toList()),
|
.toList()),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
if (_exportFormat == ImportType.csv)
|
||||||
InputDecorator(
|
InputDecorator(
|
||||||
decoration:
|
decoration:
|
||||||
InputDecoration(labelText: localization.exportType),
|
InputDecoration(labelText: localization.exportType),
|
||||||
|
|
@ -148,10 +149,11 @@ class _ImportExportState extends State<ImportExport> {
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
items: ExportType.values
|
items: ExportType.values
|
||||||
.map((importType) => DropdownMenuItem<ExportType>(
|
.map((importType) =>
|
||||||
|
DropdownMenuItem<ExportType>(
|
||||||
value: importType,
|
value: importType,
|
||||||
child:
|
child: Text(localization
|
||||||
Text(localization.lookup('$importType'))))
|
.lookup('$importType'))))
|
||||||
.toList()),
|
.toList()),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue