Skip to content

Commit

Permalink
fix: fix nil-check for remote cache (#13497)
Browse files Browse the repository at this point in the history
  • Loading branch information
hansemannn committed Jul 1, 2022
1 parent d0ab654 commit 2e2cff4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions iphone/TitaniumKit/TitaniumKit/Sources/API/ImageLoader.m
Expand Up @@ -232,6 +232,10 @@ - (NSString *)description

+ (NSString *)cachePathForURL:(NSURL *)url
{
if (url == nil) {
return nil;
}

if ([url isFileURL]) {
return [url path];
}
Expand Down

0 comments on commit 2e2cff4

Please sign in to comment.