Merge pull request #3078 from wtracyliu/fix_typos

fix typos in SDImageCache
This commit is contained in:
DreamPiggy 2020-08-31 19:41:36 +08:00 committed by GitHub
commit f45c0441fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -281,7 +281,7 @@ static NSString * _defaultDiskCacheDirectory;
});
}
// Make sure to call form io queue by caller
// Make sure to call from io queue by caller
- (void)_storeImageDataToDisk:(nullable NSData *)imageData forKey:(nullable NSString *)key {
if (!imageData || !key) {
return;
@ -316,7 +316,7 @@ static NSString * _defaultDiskCacheDirectory;
return exists;
}
// Make sure to call form io queue by caller
// Make sure to call from io queue by caller
- (BOOL)_diskImageDataExistsWithKey:(nullable NSString *)key {
if (!key) {
return NO;