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

@@ -43,29 +43,28 @@ class _SubDetailPageState extends State<SubDetailPage> with GridMixin {
@override
Widget build(BuildContext context) {
final theme = Theme.of(context);
final padding = MediaQuery.paddingOf(context);
return Scaffold(
body: SafeArea(
top: false,
bottom: false,
child: refreshIndicator(
onRefresh: _subDetailController.onRefresh,
child: CustomScrollView(
controller: _subDetailController.scrollController,
physics: const AlwaysScrollableScrollPhysics(),
slivers: [
_appBar(theme, padding),
SliverPadding(
padding: EdgeInsets.only(
top: 7,
bottom: padding.bottom + 80,
),
sliver: Obx(
() => _buildBody(_subDetailController.loadingState.value),
),
final padding = MediaQuery.viewPaddingOf(context);
return Material(
color: theme.colorScheme.surface,
child: refreshIndicator(
onRefresh: _subDetailController.onRefresh,
child: CustomScrollView(
controller: _subDetailController.scrollController,
physics: const AlwaysScrollableScrollPhysics(),
slivers: [
_appBar(theme, padding),
SliverPadding(
padding: EdgeInsets.only(
top: 7,
left: padding.left,
right: padding.right,
bottom: padding.bottom + 100,
),
],
),
sliver: Obx(
() => _buildBody(_subDetailController.loadingState.value),
),
),
],
),
),
);
@@ -157,7 +156,7 @@ class _SubDetailPageState extends State<SubDetailPage> with GridMixin {
),
padding: EdgeInsets.only(
top: kToolbarHeight + padding.top + 10,
left: 12,
left: 12 + padding.left,
right: 12,
bottom: 12,
),