mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-31 16:18:22 +08:00
fix: pgc label
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -61,7 +61,15 @@ Widget searchBangumiPanel(context, ctr, LoadingState loadingState) {
|
|||||||
src: i.cover,
|
src: i.cover,
|
||||||
),
|
),
|
||||||
PBadge(
|
PBadge(
|
||||||
text: i.mediaType == 1 ? '番剧' : '国创',
|
text: switch (i.mediaType) {
|
||||||
|
1 => '番剧',
|
||||||
|
2 => '电影',
|
||||||
|
3 => '纪录片',
|
||||||
|
4 => '国创',
|
||||||
|
5 => '电视剧',
|
||||||
|
7 => '综艺',
|
||||||
|
_ => 'type: ${i.mediaType}',
|
||||||
|
},
|
||||||
top: 6.0,
|
top: 6.0,
|
||||||
right: 4.0,
|
right: 4.0,
|
||||||
bottom: null,
|
bottom: null,
|
||||||
|
|||||||
Reference in New Issue
Block a user