mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-21 08:38:37 +00:00
@@ -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,
|
||||
),
|
||||
],
|
||||
);
|
||||
|
||||
@@ -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,
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user