xplat/js/react-native-github/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/modules/image/ImageLoaderModule.kt

Reviewed By: cortinico

Differential Revision: D81428987
This commit is contained in:
Devmate Bot
2025-09-01 01:36:58 -07:00
committed by Facebook GitHub Bot
parent 544f3b345d
commit 4fa539d0cf
@@ -230,8 +230,8 @@ internal class ImageLoaderModule : NativeImageLoaderAndroidSpec, LifecycleEventL
override fun doInBackgroundGuarded(vararg params: Void) {
val result = buildReadableMap {
val imagePipeline: ImagePipeline = this@ImageLoaderModule.imagePipeline
repeat(uris.size()) {
val uriString = uris.getString(it)
repeat(uris.size()) { index ->
val uriString = uris.getString(index)
if (!uriString.isNullOrEmpty()) {
val uri = Uri.parse(uriString)
if (imagePipeline.isInBitmapMemoryCache(uri)) {