opt mine page

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-07-28 17:49:10 +08:00
parent cbb838fff8
commit 26c420023f
2 changed files with 22 additions and 16 deletions

View File

@@ -55,20 +55,23 @@ class _MediaPageState extends CommonPageState<MinePage, MineController>
_buildHeaderActions,
const SizedBox(height: 10),
Expanded(
child: refreshIndicator(
onRefresh: controller.onRefresh,
child: ListView(
controller: controller.scrollController,
physics: const AlwaysScrollableScrollPhysics(),
children: [
_buildUserInfo(theme, secondary),
_buildActions(secondary),
Obx(
() => controller.loadingState.value is Loading
? const SizedBox.shrink()
: _buildFav(theme, secondary),
),
],
child: Material(
type: MaterialType.transparency,
child: refreshIndicator(
onRefresh: controller.onRefresh,
child: ListView(
controller: controller.scrollController,
physics: const AlwaysScrollableScrollPhysics(),
children: [
_buildUserInfo(theme, secondary),
_buildActions(secondary),
Obx(
() => controller.loadingState.value is Loading
? const SizedBox.shrink()
: _buildFav(theme, secondary),
),
],
),
),
),
),