From 5b06d854ca1f130e65c6535e1b41e3b754537420 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AB=A0=E6=96=87=E8=BD=A9?= <12812285557@qq.com> Date: Thu, 18 Aug 2022 16:22:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=95=86=E5=93=81=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E5=B1=95=E7=A4=BA=E5=92=8C=E6=A0=87=E9=A2=98=E9=A2=9C?= =?UTF-8?q?=E8=89=B2=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../lib/ui/chat/widget/message_widget.dart | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/bytedesk_kefu/lib/ui/chat/widget/message_widget.dart b/bytedesk_kefu/lib/ui/chat/widget/message_widget.dart index b1444d4..476be6f 100755 --- a/bytedesk_kefu/lib/ui/chat/widget/message_widget.dart +++ b/bytedesk_kefu/lib/ui/chat/widget/message_widget.dart @@ -241,6 +241,7 @@ class MessageWidget extends StatelessWidget { child: Text( title, maxLines: 2, + style: TextStyle(color: Color(0xFF333333)), overflow: TextOverflow.ellipsis, ), ), @@ -253,15 +254,15 @@ class MessageWidget extends StatelessWidget { overflow: TextOverflow.ellipsis, ), ), - // Container( - // margin: EdgeInsets.only(top: 10, left: 8), - // child: Text( - // '$content', - // style: TextStyle(fontSize: 12, color: Colors.grey), - // maxLines: 1, - // overflow: TextOverflow.ellipsis, - // ), - // ) + Container( + margin: EdgeInsets.only(top: 10, left: 8), + child: Text( + '$content', + style: TextStyle(fontSize: 12, color: Colors.grey), + maxLines: 1, + overflow: TextOverflow.ellipsis, + ), + ) // Gaps.vGap4, ], ),