Export settings (#1157)

This commit is contained in:
Imran Remtulla
2023-12-16 02:55:05 -05:00
parent dc92ccda0a
commit 80e4986b23
21 changed files with 74 additions and 6 deletions

View File

@@ -388,6 +388,14 @@ class _ImportExportPageState extends State<ImportExportPage> {
defaultValue: settingsProvider
.autoExportOnChanges,
)
],
[
GeneratedFormSwitch(
'exportSettings',
label: tr('includeSettings'),
defaultValue: settingsProvider
.exportSettings,
)
]
],
onValueChanges:
@@ -400,6 +408,12 @@ class _ImportExportPageState extends State<ImportExportPage> {
'autoExportOnChanges'] ==
true;
}
if (value['exportSettings'] !=
null) {
settingsProvider.exportSettings =
value['exportSettings'] ==
true;
}
}
}),
],