Commit 2416538e authored by Felix Paul Kühne's avatar Felix Paul Kühne
Browse files

local network: don't modify the UI from a background thread

parent d7c6c1fc
......@@ -89,7 +89,7 @@
if (!imageData)
return;
UIImage* image = [[UIImage alloc] initWithData:imageData];
[self setIcon:image];
[self performSelectorOnMainThread:@selector(setIcon:) withObject:image waitUntilDone:NO];
}
- (void)setIsDownloadable:(BOOL)isDownloadable
......
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