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,