Fix thumbnail

This commit is contained in:
Christian Pauly 2020-05-07 12:14:26 +02:00
parent 72affed827
commit 743ab58a3d

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