diff --git a/lib/chat/file_msg_item.dart b/lib/chat/file_msg_item.dart index d544c56..131273c 100644 --- a/lib/chat/file_msg_item.dart +++ b/lib/chat/file_msg_item.dart @@ -93,6 +93,7 @@ class FileMsgItem extends StatelessWidget { children: [ Container( child: fixedText(name, fontSize: 13), + padding: EdgeInsets.only(bottom: 2), constraints: BoxConstraints( maxWidth: Screen.width - 120 - 122, maxHeight: 50), ), diff --git a/lib/utils/HttpUtil.dart b/lib/utils/HttpUtil.dart index af2015e..35dbd75 100644 --- a/lib/utils/HttpUtil.dart +++ b/lib/utils/HttpUtil.dart @@ -1125,7 +1125,7 @@ class HttpUtil { if (msgModel.translateContent != null && msgModel.translateContent.length > 0) { - data['mcontent'] = base64Encode(msgModel.enTranslateContent); + data['mcontent'] = base64Encode(msgModel.translateContent); } Response res =