Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-06-06 17:15:16 +08:00
parent ccde326e38
commit 77e418e4b7
3 changed files with 8 additions and 14 deletions

View File

@@ -88,16 +88,12 @@ class MemberFavItem extends StatelessWidget {
right: 6,
top: 6,
text: '合集',
fontSize: 10,
isBold: false,
)
else if (item.type == 11)
const PBadge(
right: 6,
top: 6,
text: '收藏夹',
fontSize: 10,
isBold: false,
),
],
);

View File

@@ -61,7 +61,7 @@ class SpaceOpusItem extends StatelessWidget {
child: StatWidget(
type: StatType.like,
value: item.stat?.like,
color: Colors.white.withValues(alpha: 0.8),
color: Colors.white,
),
),
),

View File

@@ -147,16 +147,14 @@ class _UpowerRankPageState extends State<UpowerRankPage>
ThemeData theme, LoadingState<List<UpowerRankInfo>?> loadingState) {
late final width = MediaQuery.textScalerOf(context).scale(32);
return switch (loadingState) {
Loading() => widget.privilegeType == null
? const SliverToBoxAdapter(child: LinearProgressIndicator())
: const SliverToBoxAdapter(
child: SizedBox(
height: 125,
child: Center(
child: CircularProgressIndicator(),
),
),
Loading() => const SliverToBoxAdapter(
child: SizedBox(
height: 125,
child: Center(
child: CircularProgressIndicator(),
),
),
),
Success<List<UpowerRankInfo>?>(:var response) =>
response?.isNotEmpty == true
? SliverList.builder(