From 09a5963eee7ea568f10b8d42360cf4b23604897b Mon Sep 17 00:00:00 2001 From: Mert <101130780+mertalev@users.noreply.github.com> Date: Tue, 5 Aug 2025 12:32:06 -0400 Subject: [PATCH] fix(mobile): catch thumbnail cache miss (#20694) catch error --- mobile/lib/presentation/widgets/images/image_provider.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/mobile/lib/presentation/widgets/images/image_provider.dart b/mobile/lib/presentation/widgets/images/image_provider.dart index adb1e178ca..19eed71d44 100644 --- a/mobile/lib/presentation/widgets/images/image_provider.dart +++ b/mobile/lib/presentation/widgets/images/image_provider.dart @@ -59,6 +59,7 @@ ImageInfo? getCachedImage(ImageProvider key) { final ImageStreamCompleter? stream = PaintingBinding.instance.imageCache.putIfAbsent( key, () => throw Exception(), // don't bother loading if it isn't cached + onError: (_, __) {}, ); if (stream != null) {