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, right: 6,
top: 6, top: 6,
text: '合集', text: '合集',
fontSize: 10,
isBold: false,
) )
else if (item.type == 11) else if (item.type == 11)
const PBadge( const PBadge(
right: 6, right: 6,
top: 6, top: 6,
text: '收藏夹', text: '收藏夹',
fontSize: 10,
isBold: false,
), ),
], ],
); );

View File

@@ -61,7 +61,7 @@ class SpaceOpusItem extends StatelessWidget {
child: StatWidget( child: StatWidget(
type: StatType.like, type: StatType.like,
value: item.stat?.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) { ThemeData theme, LoadingState<List<UpowerRankInfo>?> loadingState) {
late final width = MediaQuery.textScalerOf(context).scale(32); late final width = MediaQuery.textScalerOf(context).scale(32);
return switch (loadingState) { return switch (loadingState) {
Loading() => widget.privilegeType == null Loading() => const SliverToBoxAdapter(
? const SliverToBoxAdapter(child: LinearProgressIndicator()) child: SizedBox(
: const SliverToBoxAdapter( height: 125,
child: SizedBox( child: Center(
height: 125, child: CircularProgressIndicator(),
child: Center(
child: CircularProgressIndicator(),
),
),
), ),
),
),
Success<List<UpowerRankInfo>?>(:var response) => Success<List<UpowerRankInfo>?>(:var response) =>
response?.isNotEmpty == true response?.isNotEmpty == true
? SliverList.builder( ? SliverList.builder(