From 2fa52a4ce2d17a78e88a02a11592598406cfcc2d Mon Sep 17 00:00:00 2001 From: wurong <953969641@qq.com> Date: Sun, 29 Sep 2024 17:08:17 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=9B=BE=E7=89=87?= =?UTF-8?q?=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/im/im_view/im_page.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/im/im_view/im_page.dart b/lib/im/im_view/im_page.dart index 0fb970b7..d9fe14e7 100644 --- a/lib/im/im_view/im_page.dart +++ b/lib/im/im_view/im_page.dart @@ -641,7 +641,7 @@ class _IMPage extends State implements OnChatMessage { children: [ Expanded( child: Text( - lastMessageMap[conversationId]?.content ?? "", + (lastMessageMap[conversationId]?.content ?? "").contains(".png")?"[图片]":lastMessageMap[conversationId]?.content, maxLines: 1, overflow: TextOverflow.ellipsis, style: TextStyle( From 11f1ad42b022d98ad48e46e0166519a7d386cf9b Mon Sep 17 00:00:00 2001 From: wurong <953969641@qq.com> Date: Sun, 29 Sep 2024 17:10:25 +0800 Subject: [PATCH 2/3] 1 --- lib/im/im_view/im_page.dart | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/im/im_view/im_page.dart b/lib/im/im_view/im_page.dart index d0d64d25..097aef2d 100644 --- a/lib/im/im_view/im_page.dart +++ b/lib/im/im_view/im_page.dart @@ -550,7 +550,6 @@ class _IMPage extends State implements OnChatMessage { ), ), onTap: () async { - // showDelDialog(conversationIds[position]); if (_isDelEnter) { await hxDatabase.deleteByUser(conversationIds[position]); lastScrollId = null; From 12277244a5bcc83cb5e7cbb68a8bc397bdddf906 Mon Sep 17 00:00:00 2001 From: wurong <953969641@qq.com> Date: Sun, 29 Sep 2024 17:10:50 +0800 Subject: [PATCH 3/3] 1 --- lib/im/im_view/im_page.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/im/im_view/im_page.dart b/lib/im/im_view/im_page.dart index 097aef2d..d0d64d25 100644 --- a/lib/im/im_view/im_page.dart +++ b/lib/im/im_view/im_page.dart @@ -550,6 +550,7 @@ class _IMPage extends State implements OnChatMessage { ), ), onTap: () async { + // showDelDialog(conversationIds[position]); if (_isDelEnter) { await hxDatabase.deleteByUser(conversationIds[position]); lastScrollId = null;