mirror of
https://github.com/samsonjs/immich.git
synced 2026-04-27 15:07:45 +00:00
parent
a573a23c83
commit
09a5963eee
1 changed files with 1 additions and 0 deletions
|
|
@ -59,6 +59,7 @@ ImageInfo? getCachedImage(ImageProvider key) {
|
||||||
final ImageStreamCompleter? stream = PaintingBinding.instance.imageCache.putIfAbsent(
|
final ImageStreamCompleter? stream = PaintingBinding.instance.imageCache.putIfAbsent(
|
||||||
key,
|
key,
|
||||||
() => throw Exception(), // don't bother loading if it isn't cached
|
() => throw Exception(), // don't bother loading if it isn't cached
|
||||||
|
onError: (_, __) {},
|
||||||
);
|
);
|
||||||
|
|
||||||
if (stream != null) {
|
if (stream != null) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue