Fix the silly mistake that view category internal completion block call swapped cacheType and finished arg
This commit is contained in:
parent
95ace107e8
commit
7272cf78e5
|
@ -179,7 +179,7 @@ const int64_t SDWebImageProgressUnitCountUnknown = 1LL;
|
||||||
dispatch_main_async_safe(^{
|
dispatch_main_async_safe(^{
|
||||||
if (completedBlock) {
|
if (completedBlock) {
|
||||||
NSError *error = [NSError errorWithDomain:SDWebImageErrorDomain code:-1 userInfo:@{NSLocalizedDescriptionKey : @"Trying to load a nil url"}];
|
NSError *error = [NSError errorWithDomain:SDWebImageErrorDomain code:-1 userInfo:@{NSLocalizedDescriptionKey : @"Trying to load a nil url"}];
|
||||||
completedBlock(nil, nil, error, YES, SDImageCacheTypeNone, url);
|
completedBlock(nil, nil, error, SDImageCacheTypeNone, YES, url);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue