Fix setImage clownyness

Reviewed By: mmmulani

Differential Revision: D3785608

fbshipit-source-id: eab547ae2724efde5aeb3855ab15610875d63dcd
This commit is contained in:
Pieter De Baets 2016-08-29 11:18:24 -07:00 committed by Facebook Github Bot 3
parent 7a7c44f622
commit 3fb76696bb

View File

@ -109,7 +109,7 @@ RCT_NOT_IMPLEMENTED(- (instancetype)init)
- (void)updateWithImage:(UIImage *)image - (void)updateWithImage:(UIImage *)image
{ {
if (!image) { if (!image) {
self.image = nil; super.image = nil;
return; return;
} }