From 511358d047b517a5af13089b38ec527a792b7b82 Mon Sep 17 00:00:00 2001 From: otsmr Date: Sun, 30 Mar 2025 20:09:08 +0200 Subject: [PATCH] fix #86 --- lib/src/views/chats/chat_item_details_view.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/src/views/chats/chat_item_details_view.dart b/lib/src/views/chats/chat_item_details_view.dart index b12ce44..5e44089 100644 --- a/lib/src/views/chats/chat_item_details_view.dart +++ b/lib/src/views/chats/chat_item_details_view.dart @@ -75,7 +75,8 @@ class ChatListEntry extends StatelessWidget { child = GestureDetector( onTap: () { if (message.kind == MessageKind.media) { - if (message.downloadState == DownloadState.downloaded) { + if (message.downloadState == DownloadState.downloaded && + message.openedAt == null) { Navigator.push( context, MaterialPageRoute(builder: (context) {