Fixed onLayout redbox issue

This commit is contained in:
Nick Lockwood
2015-08-07 07:07:49 -01:00
parent a8211e32d2
commit ffa7dbcbf1
2 changed files with 2 additions and 2 deletions

View File

@@ -39,7 +39,7 @@ typedef void (^RCTApplierBlock)(RCTSparseArray *viewRegistry);
@property (nonatomic, copy) NSString *viewName;
@property (nonatomic, strong) UIColor *backgroundColor; // Used to propagate to children
@property (nonatomic, assign) RCTUpdateLifecycle layoutLifecycle;
@property (nonatomic, assign, getter=hasOnLayout) BOOL onLayout;
@property (nonatomic, assign) BOOL onLayout;
/**
* isNewView - Used to track the first time the view is introduced into the hierarchy. It is initialized YES, then is