mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
mod: show video badge
Closes #176 Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user