Merge pull request #1331 from 102errors/master
spelling
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -158,7 +158,7 @@ | @@ -158,7 +158,7 @@ | ||
158 | if ((!image || options & SDWebImageRefreshCached) && (![self.delegate respondsToSelector:@selector(imageManager:shouldDownloadImageForURL:)] || [self.delegate imageManager:self shouldDownloadImageForURL:url])) { | 158 | if ((!image || options & SDWebImageRefreshCached) && (![self.delegate respondsToSelector:@selector(imageManager:shouldDownloadImageForURL:)] || [self.delegate imageManager:self shouldDownloadImageForURL:url])) { |
159 | if (image && options & SDWebImageRefreshCached) { | 159 | if (image && options & SDWebImageRefreshCached) { |
160 | dispatch_main_sync_safe(^{ | 160 | dispatch_main_sync_safe(^{ |
161 | - // If image was found in the cache bug SDWebImageRefreshCached is provided, notify about the cached image | 161 | + // If image was found in the cache but SDWebImageRefreshCached is provided, notify about the cached image |
162 | // AND try to re-download it in order to let a chance to NSURLCache to refresh it from server. | 162 | // AND try to re-download it in order to let a chance to NSURLCache to refresh it from server. |
163 | completedBlock(image, nil, cacheType, YES, url); | 163 | completedBlock(image, nil, cacheType, YES, url); |
164 | }); | 164 | }); |
-
Please register or login to post a comment