From 1cdc2ee06e4335a3043cc14da5dbc264c03edcbb Mon Sep 17 00:00:00 2001 From: VillagerTom Date: Mon, 10 Jun 2024 16:47:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=85=E5=B9=B4=E5=BA=A6=E4=BC=9A=E5=91=98?= =?UTF-8?q?=E7=B2=89=E8=89=B2=E6=98=B5=E7=A7=B0=EF=BC=8C=E6=89=80=E6=9C=89?= =?UTF-8?q?=E4=BC=9A=E5=91=98=E6=98=BE=E7=A4=BA=E8=A7=92=E6=A0=87=EF=BC=8C?= =?UTF-8?q?=E4=B8=8E=E5=AE=98=E6=96=B9B=E7=AB=99=E4=BF=9D=E6=8C=81?= =?UTF-8?q?=E4=B8=80=E8=87=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/pages/video/detail/reply/widgets/reply_item.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/pages/video/detail/reply/widgets/reply_item.dart b/lib/pages/video/detail/reply/widgets/reply_item.dart index 168df045..49457ae3 100644 --- a/lib/pages/video/detail/reply/widgets/reply_item.dart +++ b/lib/pages/video/detail/reply/widgets/reply_item.dart @@ -94,8 +94,7 @@ class ReplyItem extends StatelessWidget { type: 'avatar', ), ), - if (replyItem!.member!.vip!['vipStatus'] > 0 && - replyItem!.member!.vip!['vipType'] == 2) + if (replyItem!.member!.vip!['vipStatus'] > 0) Positioned( right: 0, bottom: 0, @@ -182,7 +181,8 @@ class ReplyItem extends StatelessWidget { Text( replyItem!.member!.uname!, style: TextStyle( - color: replyItem!.member!.vip!['vipStatus'] > 0 + color: (replyItem!.member!.vip!['vipStatus'] > 0 && + replyItem!.member!.vip!['vipType'] == 2) ? const Color.fromARGB(255, 251, 100, 163) : Theme.of(context).colorScheme.outline, fontSize: 13,