From b156ae46b6422008f3db81376a9a6febb2415282 Mon Sep 17 00:00:00 2001 From: LeLunZ <31982496+LeLunZ@users.noreply.github.com> Date: Sun, 12 Apr 2026 14:54:05 +0200 Subject: [PATCH] fix: don't clear cachedOperation in whenComplete listener --- mobile/lib/presentation/widgets/images/image_provider.dart | 1 - 1 file changed, 1 deletion(-) diff --git a/mobile/lib/presentation/widgets/images/image_provider.dart b/mobile/lib/presentation/widgets/images/image_provider.dart index 0640c341fd..04948192db 100644 --- a/mobile/lib/presentation/widgets/images/image_provider.dart +++ b/mobile/lib/presentation/widgets/images/image_provider.dart @@ -45,7 +45,6 @@ mixin CancellableImageProviderMixin on CancellableImageProvide completer.operation.valueOrCancellation().whenComplete(() { cachedStream.removeListener(listener); - cachedOperation = null; }); cachedOperation = completer.operation; return null;