mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 07:14:28 +01:00
opt.
This commit is contained in:
@@ -10,7 +10,6 @@ import 'package:toolbox/core/channel/home_widget.dart';
|
||||
import 'package:toolbox/core/extension/build.dart';
|
||||
import 'package:toolbox/core/extension/context/locale.dart';
|
||||
import 'package:toolbox/core/route.dart';
|
||||
import 'package:toolbox/core/utils/ui.dart';
|
||||
import 'package:toolbox/data/model/app/github_id.dart';
|
||||
import 'package:toolbox/data/model/app/tab.dart';
|
||||
import 'package:toolbox/data/res/build_data.dart';
|
||||
@@ -48,7 +47,7 @@ class _HomePageState extends State<HomePage>
|
||||
@override
|
||||
void initState() {
|
||||
super.initState();
|
||||
switchStatusBar(hide: false);
|
||||
SystemUIs.switchStatusBar(hide: false);
|
||||
WidgetsBinding.instance.addObserver(this);
|
||||
_selectIndex.value = Stores.setting.launchPage.fetch();
|
||||
// avoid index out of range
|
||||
@@ -286,11 +285,11 @@ class _HomePageState extends State<HomePage>
|
||||
child: _buildAboutContent(),
|
||||
actions: [
|
||||
TextButton(
|
||||
onPressed: () => openUrl(Urls.appWiki),
|
||||
onPressed: () => Urls.appWiki.launch(),
|
||||
child: const Text('Wiki'),
|
||||
),
|
||||
TextButton(
|
||||
onPressed: () => openUrl(Urls.appHelp),
|
||||
onPressed: () => Urls.appHelp.launch(),
|
||||
child: Text(l10n.feedback),
|
||||
),
|
||||
TextButton(
|
||||
|
||||
Reference in New Issue
Block a user