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:@"https://ssl.gstatic.com/docs/doclist/images/icon_11_shared_collection_list.png"] || [iconName isEqualToString:@"https://ssl.gstatic.com/docs/doclist/images/icon_11_collection_list.png"]) {
if (isDirectory) {
self.thumbnailView.image = [UIImage imageNamed:@"folder"];
} else if ([iconName isEqualToString:@"https://ssl.gstatic.com/docs/doclist/images/icon_10_audio_list.png"]) {
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