Commit f98038dd authored by Wilko Manger's avatar Wilko Manger

Make sure height of ImageContent is a double

parent e1493049
......@@ -49,7 +49,8 @@ class ImageContent extends StatelessWidget {
final height = (event.content.info?.height ??
0 / (event.content.info?.width ?? 0 / _width))
.clamp(_minHeight, _maxHeight);
.clamp(_minHeight, _maxHeight)
.toDouble();
return Container(
width: _width,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment