From 8e8027c63c18b66b1fa73847aaaa43bdac60bf25 Mon Sep 17 00:00:00 2001 From: otsmr Date: Fri, 23 Jan 2026 00:43:00 +0100 Subject: [PATCH] fix #384 --- lib/src/views/chats/chat_list_components/group_list_item.dart | 1 + lib/src/views/components/blink.component.dart | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/src/views/chats/chat_list_components/group_list_item.dart b/lib/src/views/chats/chat_list_components/group_list_item.dart index 7a6cbbb..763e389 100644 --- a/lib/src/views/chats/chat_list_components/group_list_item.dart +++ b/lib/src/views/chats/chat_list_components/group_list_item.dart @@ -135,6 +135,7 @@ class _UserListItem extends State { _previewMessages.where((x) => x.type == MessageType.media).toList(); if (msgs.isNotEmpty && msgs.first.type == MessageType.media && + !msgs.first.isDeletedFromSender && msgs.first.senderId != null && msgs.first.openedAt == null) { _hasNonOpenedMediaFile = true; diff --git a/lib/src/views/components/blink.component.dart b/lib/src/views/components/blink.component.dart index 718cfb4..b114b4b 100644 --- a/lib/src/views/components/blink.component.dart +++ b/lib/src/views/components/blink.component.dart @@ -6,8 +6,8 @@ class BlinkWidget extends StatefulWidget { required this.child, required this.enabled, super.key, - this.blinkDuration = const Duration(milliseconds: 2500), - this.interval = const Duration(milliseconds: 100), + this.blinkDuration = const Duration(milliseconds: 2000), + this.interval = const Duration(milliseconds: 300), this.visibleOpacity = 1.0, this.hiddenOpacity = 0.05, });