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

This commit is contained in:
Luis Nachtigall
2026-09-26 17:44:11 -04:00
committed by GitHub
parent 93f65b750e
commit 523c26e723
@@ -47,7 +47,6 @@ mixin CancellableImageProviderMixin<T extends Object> on CancellableImageProvide
unawaited( unawaited(
completer.operation.valueOrCancellation().whenComplete(() { completer.operation.valueOrCancellation().whenComplete(() {
cachedStream.removeListener(listener); cachedStream.removeListener(listener);
cachedOperation = null;
}), }),
); );
cachedOperation = completer.operation; cachedOperation = completer.operation;