mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-03-03 13:36:47 +00:00
fix #384
This commit is contained in:
parent
3aa35a95c5
commit
8e8027c63c
2 changed files with 3 additions and 2 deletions
|
|
@ -135,6 +135,7 @@ class _UserListItem extends State<GroupListItem> {
|
||||||
_previewMessages.where((x) => x.type == MessageType.media).toList();
|
_previewMessages.where((x) => x.type == MessageType.media).toList();
|
||||||
if (msgs.isNotEmpty &&
|
if (msgs.isNotEmpty &&
|
||||||
msgs.first.type == MessageType.media &&
|
msgs.first.type == MessageType.media &&
|
||||||
|
!msgs.first.isDeletedFromSender &&
|
||||||
msgs.first.senderId != null &&
|
msgs.first.senderId != null &&
|
||||||
msgs.first.openedAt == null) {
|
msgs.first.openedAt == null) {
|
||||||
_hasNonOpenedMediaFile = true;
|
_hasNonOpenedMediaFile = true;
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,8 @@ class BlinkWidget extends StatefulWidget {
|
||||||
required this.child,
|
required this.child,
|
||||||
required this.enabled,
|
required this.enabled,
|
||||||
super.key,
|
super.key,
|
||||||
this.blinkDuration = const Duration(milliseconds: 2500),
|
this.blinkDuration = const Duration(milliseconds: 2000),
|
||||||
this.interval = const Duration(milliseconds: 100),
|
this.interval = const Duration(milliseconds: 300),
|
||||||
this.visibleOpacity = 1.0,
|
this.visibleOpacity = 1.0,
|
||||||
this.hiddenOpacity = 0.05,
|
this.hiddenOpacity = 0.05,
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue