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, });