fix(mobile): don't clear cached initial image operation on completion (#31822)
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user