This commit is contained in:
parent
f6fdaeb6ae
commit
e4104942ee
|
@ -13,6 +13,10 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
inline UIImage *SDScaledImageForKey(NSString *key, UIImage *image) {
|
inline UIImage *SDScaledImageForKey(NSString *key, UIImage *image) {
|
||||||
|
if (!image) {
|
||||||
|
return nil;
|
||||||
|
}
|
||||||
|
|
||||||
if ([image.images count] > 0) {
|
if ([image.images count] > 0) {
|
||||||
NSMutableArray *scaledImages = [NSMutableArray array];
|
NSMutableArray *scaledImages = [NSMutableArray array];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue