1
0
Fork 0
forked from Nexus/nexus

Compare commits

...

3 commits

2 changed files with 2 additions and 2 deletions

2
gomuks

@ -1 +1 @@
Subproject commit 819f5d69f068ddedb08fe732f50570e33dd19e0f
Subproject commit 23638a8d2b5ad7ed9f72a0ec39f56cac119c45fb

View file

@ -19,7 +19,7 @@ class MessageImage extends ConsumerWidget {
child: ClipRRect(
borderRadius: .all(.circular(8)),
child: AspectRatio(
aspectRatio: info!.width! / info!.height!,
aspectRatio: (info?.width ?? 1) / (info?.height ?? 1),
child: Image(
image: CachedNetworkImage(
url.toString(),