mod: show video badge

Closes #176

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-01-15 20:12:00 +08:00
parent 2acbb17648
commit c02d828e2c
2 changed files with 9 additions and 9 deletions

View File

@@ -93,7 +93,7 @@ Widget videoSeasonWidget(item, context, type, {floor = 1}) {
semanticsLabel: content.title,
),
// ),
if (content.badge != null && type == 'pgc')
if (content?.badge?['text'] != null)
PBadge(
text: content.badge['text'],
top: 8.0,