This commit is contained in:
wgh19
2024-05-15 22:16:44 +08:00
parent 0181c4b65e
commit 4ada655bbd
4 changed files with 102 additions and 16 deletions

View File

@@ -12,6 +12,8 @@ import 'package:pixes/utils/io.dart';
import 'package:pixes/utils/translation.dart';
import 'package:url_launcher/url_launcher_string.dart';
import 'logs.dart';
class SettingsPage extends StatefulWidget {
const SettingsPage({super.key});
@@ -177,6 +179,12 @@ class _SettingsPageState extends State<SettingsPage> {
onPressed: () =>
launchUrlString("https://t.me/pica_group"),
)),
buildItem(
title: "Logs",
action: IconButton(
icon: const Icon(MdIcons.open_in_new, size: 18,),
onPressed: () => context.to(() => const LogsPage())
)),
],
),
);