Commit 26c68186 authored by Carola's avatar Carola
Browse files

check against nil to load icon when albumart is not available

parent fa10c545
......@@ -228,7 +228,7 @@
[cell setSubtitle: [NSString stringWithFormat:@"%@ (%@)", [NSByteCountFormatter stringFromByteCount:mediaSize countStyle:NSByteCountFormatterCountStyleFile], [VLCTime timeWithInt:durationInSeconds * 1000].stringValue]];
[cell setIsDirectory:NO];
cell.isDownloadable = YES;
if (![mediaItem.albumArt isEqualToString:NULL])
if (mediaItem.albumArt != nil)
[cell setIconURL:[NSURL URLWithString:mediaItem.albumArt]];
[cell setIcon:[UIImage imageNamed:@"blank"]];
cell.delegate = self;
Supports Markdown
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