mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-23 20:49:26 +01:00
Merge branch 'rizzek/fix-missing-video-bubble-issue698' into 'main'
Show message bubble on download only video attachments Closes #698 See merge request famedly/fluffychat!611
This commit is contained in:
commit
312aa1918f
@ -4,6 +4,7 @@ import 'package:matrix/matrix.dart';
|
||||
|
||||
import 'package:fluffychat/config/themes.dart';
|
||||
import 'package:fluffychat/utils/date_time_extension.dart';
|
||||
import 'package:fluffychat/utils/matrix_sdk_extensions.dart/event_extension.dart';
|
||||
import 'package:fluffychat/utils/platform_infos.dart';
|
||||
import 'package:fluffychat/utils/string_color.dart';
|
||||
import 'package:fluffychat/widgets/avatar.dart';
|
||||
@ -96,7 +97,8 @@ class Message extends StatelessWidget {
|
||||
MessageTypes.Sticker,
|
||||
}.contains(event.messageType) &&
|
||||
!(event.messageType == MessageTypes.Video &&
|
||||
!(PlatformInfos.isMobile || PlatformInfos.isWeb));
|
||||
!((PlatformInfos.isMobile && event.showThumbnail) ||
|
||||
PlatformInfos.isWeb));
|
||||
|
||||
if (ownMessage) {
|
||||
color = displayEvent.status.isError
|
||||
|
Loading…
Reference in New Issue
Block a user