fix: Analyzer bugs
This commit is contained in:
parent
dc7b636027
commit
f91919a7c6
5 changed files with 12 additions and 9 deletions
|
|
@ -265,7 +265,8 @@ class _ImageBubbleState extends State<ImageBubble> {
|
|||
: widget.event.thumbnailMxcUrl;
|
||||
final mimetype = getMimetype(!isOriginal);
|
||||
if (_contentRenderers.containsKey(mimetype)) {
|
||||
return _contentRenderers[mimetype].memory(_displayFile.bytes, key);
|
||||
return _contentRenderers[mimetype]
|
||||
.memory(_displayFile.bytes, key.toString());
|
||||
} else {
|
||||
return Image.memory(
|
||||
_displayFile.bytes,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue