1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2025-09-19 05:48:54 +00:00

Improve messages appearance

This commit is contained in:
2021-03-13 08:37:59 +01:00
parent c1196a6359
commit 201200299c
2 changed files with 9 additions and 4 deletions

View File

@@ -36,8 +36,11 @@ class _ConversationFileWidgetState extends State<ConversationFileWidget> {
@override
Widget build(BuildContext context) => Stack(
children: [
!file.hasThumbnail
? Container()
!file.hasThumbnail ||
file.fileType == ConversationMessageFileType.IMAGE
? Container(
width: 0,
)
: Opacity(
opacity: 0.8,
child: CachedNetworkImage(