From 2d86daec83d4ba39ed8e3129936b80c416b1b516 Mon Sep 17 00:00:00 2001 From: bggRGjQaUbCoE Date: Mon, 7 Apr 2025 12:39:01 +0800 Subject: [PATCH] fix: #630 Signed-off-by: bggRGjQaUbCoE --- lib/common/widgets/network_img_layer.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/common/widgets/network_img_layer.dart b/lib/common/widgets/network_img_layer.dart index e56c3bd4..3635811a 100644 --- a/lib/common/widgets/network_img_layer.dart +++ b/lib/common/widgets/network_img_layer.dart @@ -59,7 +59,7 @@ class NetworkImgLayer extends StatelessWidget { Widget _buildImage(context) { int? memCacheWidth, memCacheHeight; - if (callback?.call() == true || width <= height) { + if (ignoreHeight == true || callback?.call() == true || width <= height) { memCacheWidth = width.cacheSize(context); } else { memCacheHeight = height.cacheSize(context);