mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
opt: horizontal settings page
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -16,7 +16,9 @@ import '../../http/init.dart';
|
||||
import '../../utils/cache_manage.dart';
|
||||
|
||||
class AboutPage extends StatefulWidget {
|
||||
const AboutPage({super.key});
|
||||
const AboutPage({super.key, this.showAppBar});
|
||||
|
||||
final bool? showAppBar;
|
||||
|
||||
@override
|
||||
State<AboutPage> createState() => _AboutPageState();
|
||||
@@ -50,7 +52,7 @@ class _AboutPageState extends State<AboutPage> {
|
||||
TextStyle subTitleStyle =
|
||||
TextStyle(fontSize: 13, color: Theme.of(context).colorScheme.outline);
|
||||
return Scaffold(
|
||||
appBar: AppBar(title: Text('关于')),
|
||||
appBar: widget.showAppBar == false ? null : AppBar(title: Text('关于')),
|
||||
body: ListView(
|
||||
children: [
|
||||
GestureDetector(
|
||||
@@ -455,7 +457,8 @@ Commit Hash: ${BuildConfig.commitHash}''',
|
||||
},
|
||||
);
|
||||
},
|
||||
)
|
||||
),
|
||||
SizedBox(height: MediaQuery.paddingOf(context).bottom + 80),
|
||||
],
|
||||
),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user