Commit 63a8b0e0 authored by Felix Paul Kühne's avatar Felix Paul Kühne
Browse files

fix runtime exception

parent e8f106f1
......@@ -248,6 +248,7 @@
NSData *imageData = [[NSData alloc] initWithContentsOfURL:[NSURL URLWithString:url]];
if (imageData) {
image = [[UIImage alloc] initWithData:imageData];
if (image)
[_imageCache setObject:image forKey:url];
return image;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment