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-06-27 16:59:58 -07:00
parent 298a3f947b
commit aadf4dfdc2

View File

@@ -62,7 +62,7 @@ import com.facebook.react.views.image.ReactImageView;
@Override
public boolean hasImageRequest() {
return mRequestHelper != null;
return mSources != null && !mSources.isEmpty();
}
@Override