From 4360f1c0fbc67ea5757cff00881f9ac68d86cb55 Mon Sep 17 00:00:00 2001 From: zdc Date: Wed, 15 Apr 2020 18:02:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=97=A7=E7=9A=84=E7=BF=BB?= =?UTF-8?q?=E8=AF=91=E7=8A=B6=E6=80=81=E6=8C=89=E9=92=AE=20=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E4=B8=8A=E4=BC=A0=E7=8A=B6=E6=80=81=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/chat/ChatPage.dart | 2 +- lib/chat/msg_state_widge.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/chat/ChatPage.dart b/lib/chat/ChatPage.dart index 9ab2e28..65e2574 100644 --- a/lib/chat/ChatPage.dart +++ b/lib/chat/ChatPage.dart @@ -385,7 +385,7 @@ class _ChatPageState extends State { ]), ], )); - actions.add(TranslateSateWidget(friendId: friendInfo.userId)); + //actions.add(TranslateSateWidget(friendId: friendInfo.userId)); actions.add(Container( margin: EdgeInsets.only(top: 1), child: myPop.PopupMenuButton( diff --git a/lib/chat/msg_state_widge.dart b/lib/chat/msg_state_widge.dart index faa82d4..d52e34e 100644 --- a/lib/chat/msg_state_widge.dart +++ b/lib/chat/msg_state_widge.dart @@ -83,7 +83,7 @@ class _MsgStateWidgetState extends State { } else if (sendState == MsgState.SendingSuccess) { return Container(width: 0, height: 0); } else { - if (widget.msg.msgType == ChatType.ShortVideoChatType.value) { + if (widget.msg.state == MsgState.Uploading) { return Container( child: IconButton( iconSize: 22,