mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-01 00:28:18 +08:00
@@ -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,
|
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -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,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -147,9 +147,7 @@ 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())
|
|
||||||
: const SliverToBoxAdapter(
|
|
||||||
child: SizedBox(
|
child: SizedBox(
|
||||||
height: 125,
|
height: 125,
|
||||||
child: Center(
|
child: Center(
|
||||||
|
|||||||
Reference in New Issue
Block a user