From 0f2a9c1c1aa000299b8bbb750cf78f3bbb348b8c Mon Sep 17 00:00:00 2001 From: MingNian <1281442923@qq.com> Date: Wed, 17 Jun 2026 11:22:02 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=AC=A2=E8=BF=8E=E5=8D=A1=E7=89=87?= =?UTF-8?q?=E5=9B=BE=E6=A0=87=E5=8E=BB=E7=99=BD=E5=9C=86=E7=82=B9=20+=20?= =?UTF-8?q?=E6=8C=89=E9=92=AE=E6=B8=90=E5=8F=98=E5=9B=BE=E6=A0=87=20+=20?= =?UTF-8?q?=E5=A4=9A=E5=A4=84=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../home/widgets/chat_messages_view.dart | 23 ++++--------------- 1 file changed, 5 insertions(+), 18 deletions(-) diff --git a/health_app/lib/pages/home/widgets/chat_messages_view.dart b/health_app/lib/pages/home/widgets/chat_messages_view.dart index a2162e4..f5967e6 100644 --- a/health_app/lib/pages/home/widgets/chat_messages_view.dart +++ b/health_app/lib/pages/home/widgets/chat_messages_view.dart @@ -408,7 +408,10 @@ class ChatMessagesView extends ConsumerWidget { child: Row( mainAxisSize: MainAxisSize.min, children: [ - Icon(a.icon, size: 24, color: AppColors.textPrimary), + ShaderMask( + shaderCallback: (bounds) => AppColors.actionOutlineGradient.createShader(bounds), + child: Icon(a.icon, size: 24, color: Colors.white), + ), const SizedBox(width: 10), Text( a.label, @@ -2040,23 +2043,7 @@ class _AgentMark extends StatelessWidget { ), ], ), - child: Stack( - children: [ - Positioned( - right: 8, - top: 8, - child: Container( - width: 8, - height: 8, - decoration: BoxDecoration( - color: Colors.white.withValues(alpha: 0.72), - shape: BoxShape.circle, - ), - ), - ), - Center(child: Icon(icon, size: 32, color: Colors.white)), - ], - ), + child: Center(child: Icon(icon, size: 32, color: Colors.white)), ); } }