We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 792a0db commit c90b59fCopy full SHA for c90b59f
1 file changed
Sources/SPTPersistentCache.m
@@ -1048,7 +1048,8 @@ - (NSMutableArray *)storedImageNamesAndAttributes
1048
NSNumber *fsize = [NSNumber numberWithLongLong:fileStat.st_size];
1049
NSDictionary *values = @{NSFileModificationDate : mdate, NSFileSize: fsize};
1050
1051
- [images addObject:@{ SPTDataCacheFileNameKey : [NSString stringWithUTF8String:[theURL fileSystemRepresentation]],
+ NSString *cacheFilename = [NSString stringWithUTF8String:[theURL fileSystemRepresentation]];
1052
+ [images addObject:@{ SPTDataCacheFileNameKey : cacheFilename,
1053
SPTDataCacheFileAttributesKey : values }];
1054
}
1055
} else {
0 commit comments