Browse Source

删除旧的翻译状态按钮

修改上传状态显示
master
zdc 5 years ago
parent
commit
4360f1c0fb
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      lib/chat/ChatPage.dart
  2. +1
    -1
      lib/chat/msg_state_widge.dart

+ 1
- 1
lib/chat/ChatPage.dart View File

@@ -385,7 +385,7 @@ class _ChatPageState extends State<ChatPage> {
]), ]),
], ],
)); ));
actions.add(TranslateSateWidget(friendId: friendInfo.userId));
//actions.add(TranslateSateWidget(friendId: friendInfo.userId));
actions.add(Container( actions.add(Container(
margin: EdgeInsets.only(top: 1), margin: EdgeInsets.only(top: 1),
child: myPop.PopupMenuButton( child: myPop.PopupMenuButton(


+ 1
- 1
lib/chat/msg_state_widge.dart View File

@@ -83,7 +83,7 @@ class _MsgStateWidgetState extends State<MsgStateWidget> {
} else if (sendState == MsgState.SendingSuccess) { } else if (sendState == MsgState.SendingSuccess) {
return Container(width: 0, height: 0); return Container(width: 0, height: 0);
} else { } else {
if (widget.msg.msgType == ChatType.ShortVideoChatType.value) {
if (widget.msg.state == MsgState.Uploading) {
return Container( return Container(
child: IconButton( child: IconButton(
iconSize: 22, iconSize: 22,


Loading…
Cancel
Save