Fix thumbnail
This commit is contained in:
parent
72affed827
commit
743ab58a3d
|
@ -25,7 +25,8 @@ class _ImageBubbleState extends State<ImageBubble> {
|
||||||
|
|
||||||
Future<MatrixFile> _getFile() async {
|
Future<MatrixFile> _getFile() async {
|
||||||
if (_file != null) return _file;
|
if (_file != null) return _file;
|
||||||
return widget.event.downloadAndDecryptAttachment(getThumbnail: true);
|
return widget.event
|
||||||
|
.downloadAndDecryptAttachment(getThumbnail: widget.event.hasThumbnail);
|
||||||
}
|
}
|
||||||
|
|
||||||
@override
|
@override
|
||||||
|
|
Loading…
Reference in a new issue