Corrected function duplication
This commit is contained in:
@@ -98,6 +98,7 @@
|
||||
|
||||
"export_error_title": "Export failed",
|
||||
"export_error_message": "Could not export file",
|
||||
|
||||
"error_found": "Found a bug?",
|
||||
"create_issue": "Create Issue",
|
||||
"wiki": "Wiki",
|
||||
|
||||
@@ -124,7 +124,7 @@ class _SettingsViewState extends State<SettingsView> {
|
||||
CustomFormRow(
|
||||
prefixText: AppLocalizations.of(context).export_data,
|
||||
prefixIcon: CupertinoIcons.square_arrow_up,
|
||||
onPressed: () => LocalStorageService.importJsonFile(),
|
||||
onPressed: () => LocalStorageService.exportGameData(),
|
||||
suffixWidget: const CupertinoListTileChevron(),
|
||||
),
|
||||
])),
|
||||
|
||||
Reference in New Issue
Block a user