From 681137cb6edd52b28f501f79733fd80614add4f0 Mon Sep 17 00:00:00 2001 From: HuyNguyen Date: Mon, 9 Dec 2024 00:16:32 +0700 Subject: [PATCH] TW-2163: Fix avatar cut off when change new image --- lib/widgets/stream_image_view.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/widgets/stream_image_view.dart b/lib/widgets/stream_image_view.dart index 5d29bce1af..0a42d080c4 100644 --- a/lib/widgets/stream_image_view.dart +++ b/lib/widgets/stream_image_view.dart @@ -66,7 +66,7 @@ class StreamImageViewerState extends State { maxScale: 5.0, child: Image.memory( bytes.bytes!, - fit: BoxFit.contain, + fit: BoxFit.cover, gaplessPlayback: true, ), );