Skip to content

Commit b2b992c

Browse files
generatedunixname537391475639613facebook-github-bot
authored andcommitted
xplat/js/react-native-github/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/modules/image/ImageLoaderModule.kt (#53545)
Summary: Pull Request resolved: #53545 Reviewed By: cortinico Differential Revision: D81428987 fbshipit-source-id: 7bd04528384bd96f659cf969806d367296665d97
1 parent 716cbae commit b2b992c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • packages/react-native/ReactAndroid/src/main/java/com/facebook/react/modules/image

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,8 @@ internal class ImageLoaderModule : NativeImageLoaderAndroidSpec, LifecycleEventL
230230
override fun doInBackgroundGuarded(vararg params: Void) {
231231
val result = buildReadableMap {
232232
val imagePipeline: ImagePipeline = this@ImageLoaderModule.imagePipeline
233-
repeat(uris.size()) {
234-
val uriString = uris.getString(it)
233+
repeat(uris.size()) { index ->
234+
val uriString = uris.getString(index)
235235
if (!uriString.isNullOrEmpty()) {
236236
val uri = Uri.parse(uriString)
237237
if (imagePipeline.isInBitmapMemoryCache(uri)) {

0 commit comments

Comments
 (0)