mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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:
committed by
Facebook GitHub Bot
parent
544f3b345d
commit
4fa539d0cf
+2
-2
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user