Skip to content

Commit b085491

Browse files
authored
fix: Also use cacheKey for memoryCache (#46)
1 parent 5b9a448 commit b085491

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/react-native-nitro-web-image/android/src/main/java/com/margelo/nitro/web/image/ImageRequestBuilder+applyOptions.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ fun ImageRequest.Builder.applyOptions(options: AsyncImageLoadOptions?): ImageReq
5252

5353
if (options.cacheKey != null) {
5454
result = result.diskCacheKey(options.cacheKey)
55+
result = result.memoryCacheKey(options.cacheKey)
5556
}
5657

5758
return result

0 commit comments

Comments
 (0)