Skip to content

Commit

Permalink
Merge pull request #848 from onbased/develop
Browse files Browse the repository at this point in the history
Don't forget to pass the cache key to the download function
  • Loading branch information
renefloor authored Jul 23, 2023
2 parents 6d22f59 + 53e6c4c commit d153049
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cached_network_image_web/lib/cached_network_image_web.dart
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ class ImageLoader implements platform.ImageLoader {
) async* {
try {
await for (var result in cacheManager.getFileStream(url,
withProgress: true, headers: headers)) {
key: cacheKey, withProgress: true, headers: headers)) {
if (result is DownloadProgress) {
chunkEvents.add(ImageChunkEvent(
cumulativeBytesLoaded: result.downloaded,
Expand Down

0 comments on commit d153049

Please sign in to comment.