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
This commit is contained in:
Ahmed El-Helw
2016-12-19 13:40:27 -08:00
parent 298a3f947b
commit aadf4dfdc2
@@ -62,7 +62,7 @@ import com.facebook.react.views.image.ReactImageView;
@Override
public boolean hasImageRequest() {
return mRequestHelper != null;
return mSources != null && !mSources.isEmpty();
}
@Override