fix: correct image key.

This commit is contained in:
errnull
2019-06-17 16:39:00 +08:00
parent 4c4e2b13ad
commit 6436935f60
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@@ -85,7 +85,7 @@ static NSCache *videoCache;
if (imageData != nil) {
UIImage *image = [[UIImage alloc] initWithData:imageData scale:2.0];
if (image != nil) {
[images setObject:image forKey:key];
[images setObject:image forKey:[key stringByDeletingPathExtension]];
}
}
}