opt: video: charged badge

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-03-30 21:14:07 +08:00
parent 8712248ef2
commit 134bfd43ff
4 changed files with 35 additions and 26 deletions

View File

@@ -110,6 +110,9 @@ class VideoCardHMemberVideo extends StatelessWidget {
.join('|'),
right: 6.0,
top: 6.0,
type: videoItem.badges!.first.text == '充电专属'
? 'error'
: 'primary',
),
if (videoItem.history != null) ...[
Builder(builder: (context) {