mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
fix: vipcolor
This commit is contained in:
@@ -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,
|
||||
),
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user