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()),
|
||||
),
|
||||
),
|
||||
if (_exportFormat == ImportType.csv)
|
||||
InputDecorator(
|
||||
decoration:
|
||||
InputDecoration(labelText: localization.exportType),
|
||||
|
|
@ -148,10 +149,11 @@ class _ImportExportState extends State<ImportExport> {
|
|||
});
|
||||
},
|
||||
items: ExportType.values
|
||||
.map((importType) => DropdownMenuItem<ExportType>(
|
||||
.map((importType) =>
|
||||
DropdownMenuItem<ExportType>(
|
||||
value: importType,
|
||||
child:
|
||||
Text(localization.lookup('$importType'))))
|
||||
child: Text(localization
|
||||
.lookup('$importType'))))
|
||||
.toList()),
|
||||
),
|
||||
),
|
||||
|
|
|
|||
Loading…
Reference in New Issue