Revert the changes to check `SDWebImageRetryFailed` before adding the black list. This is the previous version behavior.
This commit is contained in:
parent
2abb8d0628
commit
cf79d1c3ae
|
@ -495,9 +495,6 @@ static id<SDImageLoader> _defaultImageLoader;
|
||||||
error:(nonnull NSError *)error
|
error:(nonnull NSError *)error
|
||||||
options:(SDWebImageOptions)options
|
options:(SDWebImageOptions)options
|
||||||
context:(nullable SDWebImageContext *)context {
|
context:(nullable SDWebImageContext *)context {
|
||||||
if ((options & SDWebImageRetryFailed)) {
|
|
||||||
return NO;
|
|
||||||
}
|
|
||||||
id<SDImageLoader> imageLoader;
|
id<SDImageLoader> imageLoader;
|
||||||
if ([context[SDWebImageContextImageLoader] conformsToProtocol:@protocol(SDImageLoader)]) {
|
if ([context[SDWebImageContextImageLoader] conformsToProtocol:@protocol(SDImageLoader)]) {
|
||||||
imageLoader = context[SDWebImageContextImageLoader];
|
imageLoader = context[SDWebImageContextImageLoader];
|
||||||
|
|
Loading…
Reference in New Issue