[NFC] Fix the variable naming
This commit is contained in:
parent
bcbe72a77f
commit
99dc9a8e61
|
@ -124,9 +124,9 @@ UIImage * _Nullable SDImageCacheDecodeImageData(NSData * _Nonnull imageData, NSS
|
||||||
}
|
}
|
||||||
if (image) {
|
if (image) {
|
||||||
SDImageForceDecodePolicy policy = SDImageForceDecodePolicyAutomatic;
|
SDImageForceDecodePolicy policy = SDImageForceDecodePolicyAutomatic;
|
||||||
NSNumber *polivyValue = context[SDWebImageContextImageForceDecodePolicy];
|
NSNumber *policyValue = context[SDWebImageContextImageForceDecodePolicy];
|
||||||
if (polivyValue != nil) {
|
if (policyValue != nil) {
|
||||||
policy = polivyValue.unsignedIntegerValue;
|
policy = policyValue.unsignedIntegerValue;
|
||||||
}
|
}
|
||||||
// TODO: Deprecated, remove in SD 6.0...
|
// TODO: Deprecated, remove in SD 6.0...
|
||||||
#pragma clang diagnostic push
|
#pragma clang diagnostic push
|
||||||
|
|
|
@ -75,9 +75,9 @@ UIImage * _Nullable SDImageLoaderDecodeImageData(NSData * _Nonnull imageData, NS
|
||||||
}
|
}
|
||||||
if (image) {
|
if (image) {
|
||||||
SDImageForceDecodePolicy policy = SDImageForceDecodePolicyAutomatic;
|
SDImageForceDecodePolicy policy = SDImageForceDecodePolicyAutomatic;
|
||||||
NSNumber *polivyValue = context[SDWebImageContextImageForceDecodePolicy];
|
NSNumber *policyValue = context[SDWebImageContextImageForceDecodePolicy];
|
||||||
if (polivyValue != nil) {
|
if (policyValue != nil) {
|
||||||
policy = polivyValue.unsignedIntegerValue;
|
policy = policyValue.unsignedIntegerValue;
|
||||||
}
|
}
|
||||||
// TODO: Deprecated, remove in SD 6.0...
|
// TODO: Deprecated, remove in SD 6.0...
|
||||||
#pragma clang diagnostic push
|
#pragma clang diagnostic push
|
||||||
|
@ -156,9 +156,9 @@ UIImage * _Nullable SDImageLoaderDecodeProgressiveImageData(NSData * _Nonnull im
|
||||||
}
|
}
|
||||||
if (image) {
|
if (image) {
|
||||||
SDImageForceDecodePolicy policy = SDImageForceDecodePolicyAutomatic;
|
SDImageForceDecodePolicy policy = SDImageForceDecodePolicyAutomatic;
|
||||||
NSNumber *polivyValue = context[SDWebImageContextImageForceDecodePolicy];
|
NSNumber *policyValue = context[SDWebImageContextImageForceDecodePolicy];
|
||||||
if (polivyValue != nil) {
|
if (policyValue != nil) {
|
||||||
policy = polivyValue.unsignedIntegerValue;
|
policy = policyValue.unsignedIntegerValue;
|
||||||
}
|
}
|
||||||
// TODO: Deprecated, remove in SD 6.0...
|
// TODO: Deprecated, remove in SD 6.0...
|
||||||
#pragma clang diagnostic push
|
#pragma clang diagnostic push
|
||||||
|
|
Loading…
Reference in New Issue