mirror of
https://github.com/zebrajr/immich.git
synced 2025-12-06 00:20:20 +01:00
parent
a573a23c83
commit
09a5963eee
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user