mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-06 09:31:11 +08:00
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:
@@ -62,7 +62,7 @@ import com.facebook.react.views.image.ReactImageView;
|
||||
|
||||
@Override
|
||||
public boolean hasImageRequest() {
|
||||
return mRequestHelper != null;
|
||||
return mSources != null && !mSources.isEmpty();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user