mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-23 04:00:28 +08:00
opt handle res
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -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,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user