From 743ab58a3db9b6398367131b7c5d5957f188bb50 Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Thu, 7 May 2020 12:14:26 +0200 Subject: [PATCH] Fix thumbnail --- lib/components/image_bubble.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/components/image_bubble.dart b/lib/components/image_bubble.dart index dacb6f4..b1a2eda 100644 --- a/lib/components/image_bubble.dart +++ b/lib/components/image_bubble.dart @@ -25,7 +25,8 @@ class _ImageBubbleState extends State { Future _getFile() async { if (_file != null) return _file; - return widget.event.downloadAndDecryptAttachment(getThumbnail: true); + return widget.event + .downloadAndDecryptAttachment(getThumbnail: widget.event.hasThumbnail); } @override