condition error fixed
This commit is contained in:
parent
96c9ed1d52
commit
df79bfdb6f
Binary file not shown.
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue