mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 07:14:28 +01:00
new: delete all in settings page
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user