Closes #1050

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-08-20 22:04:39 +08:00
parent e096ebcbba
commit 76f1d0129b
171 changed files with 2190 additions and 2063 deletions

View File

@@ -17,26 +17,24 @@ class _LogPageState<T> extends State<LogPage<T>> {
@override
Widget build(BuildContext context) {
final padding = MediaQuery.viewPaddingOf(context);
return Scaffold(
resizeToAvoidBottomInset: false,
appBar: AppBar(title: Text(_controller.title)),
body: SafeArea(
top: false,
bottom: false,
child: Center(
child: ConstrainedBox(
constraints: const BoxConstraints(maxWidth: 680),
child: CustomScrollView(
slivers: [
SliverPadding(
padding: EdgeInsets.only(
left: 10,
right: 10,
bottom: MediaQuery.paddingOf(context).bottom + 80,
),
sliver: Obx(() => _buildBody(_controller.loadingState.value)),
body: Center(
child: ConstrainedBox(
constraints: const BoxConstraints(maxWidth: 680),
child: CustomScrollView(
slivers: [
SliverPadding(
padding: EdgeInsets.only(
left: 10 + padding.left,
right: 10 + padding.right,
bottom: padding.bottom + 100,
),
],
),
sliver: Obx(() => _buildBody(_controller.loadingState.value)),
),
],
),
),
),