Fix thumbnail

This commit is contained in:
Christian Pauly 2020-05-07 12:14:26 +02:00
parent d1ab79c0f9
commit 2ed7b2e2d6

View file

@ -25,7 +25,8 @@ class _ImageBubbleState extends State<ImageBubble> {
Future<MatrixFile> _getFile() async {
if (_file != null) return _file;
return widget.event.downloadAndDecryptAttachment(getThumbnail: true);
return widget.event
.downloadAndDecryptAttachment(getThumbnail: widget.event.hasThumbnail);
}
@override