Commit 3011b791 authored by Felix Paul Kühne's avatar Felix Paul Kühne

google drive: fix directory icon (closes #14716)

parent 0027161e
......@@ -108,7 +108,7 @@
[self performSelectorInBackground:@selector(_updateIconFromURL) withObject:@""];
NSString *iconName = self.driveFile.iconLink;
if ([iconName isEqualToString:@""] || [iconName isEqualToString:@""]) {
if (isDirectory) {
self.thumbnailView.image = [UIImage imageNamed:@"folder"];
} else if ([iconName isEqualToString:@""]) {
self.thumbnailView.image = [UIImage imageNamed:@"audio"];
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