mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-22 01:56:47 +08:00
opt ui
Closes #1050 Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -31,9 +31,8 @@ class _SysMsgPageState extends State<SysMsgPage> {
|
||||
Widget build(BuildContext context) {
|
||||
final theme = Theme.of(context);
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
title: const Text('系统通知'),
|
||||
),
|
||||
resizeToAvoidBottomInset: false,
|
||||
appBar: AppBar(title: const Text('系统通知')),
|
||||
body: refreshIndicator(
|
||||
onRefresh: _sysMsgController.onRefresh,
|
||||
child: CustomScrollView(
|
||||
@@ -41,7 +40,7 @@ class _SysMsgPageState extends State<SysMsgPage> {
|
||||
slivers: [
|
||||
SliverPadding(
|
||||
padding: EdgeInsets.only(
|
||||
bottom: MediaQuery.paddingOf(context).bottom + 80,
|
||||
bottom: MediaQuery.viewPaddingOf(context).bottom + 100,
|
||||
),
|
||||
sliver: Obx(
|
||||
() => _buildBody(theme, _sysMsgController.loadingState.value),
|
||||
|
||||
Reference in New Issue
Block a user