mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-08-20 21:19:29 +02:00
Started switching additionaldata to map
This commit is contained in:
@@ -145,7 +145,7 @@ class _ImportExportPageState extends State<ImportExportPage> {
|
||||
title: tr('importFromURLList'),
|
||||
items: [
|
||||
[
|
||||
GeneratedFormItem(
|
||||
GeneratedFormItem('appURLList',
|
||||
label: tr('appURLList'),
|
||||
max: 7,
|
||||
additionalValidators: [
|
||||
@@ -172,7 +172,7 @@ class _ImportExportPageState extends State<ImportExportPage> {
|
||||
])
|
||||
]
|
||||
],
|
||||
defaultValues: const [],
|
||||
defaultValues: const {},
|
||||
);
|
||||
}).then((values) {
|
||||
if (values != null) {
|
||||
@@ -237,11 +237,12 @@ class _ImportExportPageState extends State<ImportExportPage> {
|
||||
items: [
|
||||
[
|
||||
GeneratedFormItem(
|
||||
'searchQuery',
|
||||
label: tr(
|
||||
'searchQuery'))
|
||||
]
|
||||
],
|
||||
defaultValues: const [],
|
||||
defaultValues: const {},
|
||||
);
|
||||
});
|
||||
if (values != null &&
|
||||
@@ -346,10 +347,11 @@ class _ImportExportPageState extends State<ImportExportPage> {
|
||||
.requiredArgs
|
||||
.map(
|
||||
(e) => [
|
||||
GeneratedFormItem(label: e)
|
||||
GeneratedFormItem(e,
|
||||
label: e)
|
||||
])
|
||||
.toList(),
|
||||
defaultValues: const [],
|
||||
defaultValues: const {},
|
||||
);
|
||||
});
|
||||
if (values != null) {
|
||||
|
Reference in New Issue
Block a user