Commit 9a5e8825 authored by Felix Paul Kühne's avatar Felix Paul Kühne

server list: show generic server icon if server doesn't provide one

parent 689a421a
{
"images" : [
{
"idiom" : "tv",
"filename" : "serverIcon@3x.png",
"scale" : "1x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
\ No newline at end of file
......@@ -99,7 +99,7 @@
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:VLCLocalServerTVCell forIndexPath:indexPath];
id<VLCLocalNetworkService> service = [self.discoveryController networkServiceForIndexPath:indexPath];
cell.textLabel.text = service.title;
cell.imageView.image = service.icon;
cell.imageView.image = service.icon ? service.icon : [UIImage imageNamed:@"serverIcon"];
return cell;
}
......
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