We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df06d7f commit 9f187a7Copy full SHA for 9f187a7
FFImageLoading.Touch/Work/ImageLoaderTask.cs
@@ -124,15 +124,15 @@ public override async Task<CacheResult> TryLoadingFromCacheAsync()
124
return CacheResult.NotFound; // not available in the cache
125
126
if (IsCancelled)
127
- return CacheResult.Found;
+ return CacheResult.NotFound; // not sure what to return in that case
128
129
await MainThreadDispatcher.PostAsync(() =>
130
{
131
_doWithImage(value);
132
}).ConfigureAwait(false);
133
134
135
136
137
Parameters.OnSuccess((int)value.Size.Width, (int)value.Size.Height);
138
return CacheResult.Found; // found and loaded from cache
0 commit comments