diff --git a/LeadKit/.DS_Store b/LeadKit/.DS_Store index c6f0f0f9..2b1134c4 100644 Binary files a/LeadKit/.DS_Store and b/LeadKit/.DS_Store differ diff --git a/LeadKit/LeadKit/Extensions/UIImage/UIImage+Loading.swift b/LeadKit/LeadKit/Extensions/UIImage/UIImage+Loading.swift index a2956e56..31751cf0 100644 --- a/LeadKit/LeadKit/Extensions/UIImage/UIImage+Loading.swift +++ b/LeadKit/LeadKit/Extensions/UIImage/UIImage+Loading.swift @@ -57,8 +57,7 @@ public extension UIImage { dispatch_async(dispatch_get_main_queue()) { fetchComplete(image: nil) } - } - if let data = data, image = UIImage(data: data) { + } else if let data = data, image = UIImage(data: data) { if cacheImage { UIImage.sharedCache().setObject(image, forKey: url) }