Skip to content

High performance self-hosted photo and video management solution.

fix(mobile): catch thumbnail cache miss (#20694)

Mert09a5963eee7e
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) {