fix: vipcolor

This commit is contained in:
bggRGjQaUbCoE
2024-11-05 11:28:02 +08:00
parent 88bbd57d62
commit 3051af256c
6 changed files with 35 additions and 14 deletions

View File

@@ -348,7 +348,12 @@ class _VideoInfoState extends State<VideoInfo> with TickerProviderStateMixin {
: videoItem['staff'][index].name,
style: TextStyle(
color:
videoItem['staff'][index].vip.type == 2
videoItem['staff'][index].vip.status >
0 &&
videoItem['staff'][index]
.vip
.type ==
2
? Utils.vipColor
: null,
),

View File

@@ -204,7 +204,8 @@ class ReplyItemGrpc extends StatelessWidget {
Text(
replyItem.member.name,
style: TextStyle(
color: (replyItem.member.vipType == 2)
color: (replyItem.member.vipStatus > 0 &&
replyItem.member.vipType == 2)
? Utils.vipColor
: Theme.of(context).colorScheme.outline,
fontSize: 13,