Commit 47e45c5c authored by Felix Paul Kühne's avatar Felix Paul Kühne
Browse files

thumbnailer: disable blurring of folder thumbs on iOS 6

parent bf82348f
......@@ -159,7 +159,10 @@ static NSCache *_thumbnailCacheMetadata;
NSUInteger fileNumber = count > 3 ? 3 : count;
NSArray *files = [mediaLabel.files allObjects];
displayedImage = [self clusterThumbFromFiles:files andNumber:fileNumber blur:YES];
BOOL blur = NO;
if (SYSTEM_RUNS_IOS7_OR_LATER)
blur = YES;
displayedImage = [self clusterThumbFromFiles:files andNumber:fileNumber blur:blur];
if (displayedImage) {
[_thumbnailCache setObject:displayedImage forKey:objID];
[_thumbnailCacheMetadata setObject:@(count) forKey:objID];
......
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