opt handle res

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-05-29 17:17:35 +08:00
parent b643cb1bd0
commit 924d51d41b
198 changed files with 3715 additions and 2001 deletions

View File

@@ -69,14 +69,14 @@ Widget videoSeasonWidget(
height: width / StyleString.aspectRatio,
src: itemContent.cover,
),
if (itemContent.badge?['text'] != null)
if (itemContent.badge?.text != null)
PBadge(
text: itemContent.badge!['text'],
text: itemContent.badge!.text,
top: 8.0,
right: 10.0,
bottom: null,
left: null,
type: itemContent.badge!['text'] == '充电专属'
type: itemContent.badge!.text == '充电专属'
? PBadgeType.error
: PBadgeType.primary,
),