Skip to content

High performance self-hosted photo and video management solution.

fix(mobile): don't clear cached initial image operation on completion (#31822)

Luis Nachtigall523c26e7230c
diff --git a/mobile/lib/presentation/widgets/images/image_provider.dart b/mobile/lib/presentation/widgets/images/image_provider.dart
index 19701d7c77..80c3e942c7 100644
--- a/mobile/lib/presentation/widgets/images/image_provider.dart
+++ b/mobile/lib/presentation/widgets/images/image_provider.dart
@@ -47,7 +47,6 @@ mixin CancellableImageProviderMixin<T extends Object> on CancellableImageProvide
unawaited(
completer.operation.valueOrCancellation().whenComplete(() {
cachedStream.removeListener(listener);
- cachedOperation = null;
}),
);
cachedOperation = completer.operation;