From 8939fa26e0e0708d509d39eda630f002834c62e5 Mon Sep 17 00:00:00 2001 From: zdc Date: Wed, 8 Apr 2020 15:47:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=96=87=E4=BB=B6=E5=90=8D?= =?UTF-8?q?=E5=AD=97=E4=B8=8B=E6=96=B9=E9=97=B4=E9=9A=94,=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E6=9C=BA=E5=99=A8=E7=BF=BB=E8=AF=91=E5=8F=96=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/chat/file_msg_item.dart | 1 + lib/utils/HttpUtil.dart | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 =