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