Skip to content

Commit d153049

Browse files
authored
Merge pull request #848 from onbased/develop
Don't forget to pass the cache key to the download function
2 parents 6d22f59 + 53e6c4c commit d153049

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cached_network_image_web/lib/cached_network_image_web.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ class ImageLoader implements platform.ImageLoader {
124124
) async* {
125125
try {
126126
await for (var result in cacheManager.getFileStream(url,
127-
withProgress: true, headers: headers)) {
127+
key: cacheKey, withProgress: true, headers: headers)) {
128128
if (result is DownloadProgress) {
129129
chunkEvents.add(ImageChunkEvent(
130130
cumulativeBytesLoaded: result.downloaded,

0 commit comments

Comments
 (0)