new: delete all in settings page

This commit is contained in:
lollipopkit
2023-08-30 18:52:28 +08:00
parent be62767d45
commit c899a84b29
10 changed files with 74 additions and 41 deletions

View File

@@ -271,6 +271,10 @@ class _HomePageState extends State<HomePage>
title: Text(_s.about),
child: _buildAboutContent(),
actions: [
TextButton(
onPressed: () => openUrl(appWikiUrl),
child: const Text('Wiki'),
),
TextButton(
onPressed: () => openUrl(appHelpUrl),
child: Text(_s.feedback),
@@ -380,6 +384,7 @@ class _HomePageState extends State<HomePage>
final result = await AppRoute.editor(
text: text,
langCode: 'json',
title: _s.setting,
).go(context);
if (result == null) {
return;