From aadf4dfdc2579b8e67bf9833e9529026c9359e6f Mon Sep 17 00:00:00 2001 From: Ahmed El-Helw Date: Mon, 27 Jun 2016 16:59:58 -0700 Subject: [PATCH] Fix DrawImageWithPipeline for Nodes Summary: Fix DrawImageWithPipeline's code for checking whether or not an image request exists or not to be the same as DrawImageWithDrawee's. Differential Revision: D3489532 --- .../java/com/facebook/react/flat/DrawImageWithPipeline.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ReactAndroid/src/main/java/com/facebook/react/flat/DrawImageWithPipeline.java b/ReactAndroid/src/main/java/com/facebook/react/flat/DrawImageWithPipeline.java index a9467d065..275bb5a2c 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/flat/DrawImageWithPipeline.java +++ b/ReactAndroid/src/main/java/com/facebook/react/flat/DrawImageWithPipeline.java @@ -62,7 +62,7 @@ import com.facebook.react.views.image.ReactImageView; @Override public boolean hasImageRequest() { - return mRequestHelper != null; + return mSources != null && !mSources.isEmpty(); } @Override