File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -218,7 +218,7 @@ - (SDWebImageCombinedOperation *)loadImageWithURL:(nullable NSURL *)url
218218 // Preprocess the options and context arg to decide the final the result for manager
219219 SDWebImageOptionsResult *result = [self processedResultForURL: url options: options context: context];
220220
221- if (url.absoluteString .length == 0 || (!(options & SDWebImageRetryFailed) && isFailedUrl)) {
221+ if (url.absoluteString .length == 0 || (!(result. options & SDWebImageRetryFailed) && isFailedUrl)) {
222222 NSString *description = isFailedUrl ? @" Image url is blacklisted" : @" Image url is nil" ;
223223 NSInteger code = isFailedUrl ? SDWebImageErrorBlackListed : SDWebImageErrorInvalidURL;
224224 [self callCompletionBlockForOperation: operation completion: completedBlock error: [NSError errorWithDomain: SDWebImageErrorDomain code: code userInfo: @{NSLocalizedDescriptionKey : description}] queue: result.context[SDWebImageContextCallbackQueue] url: url];
You can’t perform that action at this time.
0 commit comments