Permalink
Browse files

Remove getter for RCTShadowView flex

Reviewed By: emilsjolander

Differential Revision: D4081779

fbshipit-source-id: 4e2a1780738423396111c7cfde2fe12010ad0e93
  • Loading branch information...
javache authored and Facebook Github Bot committed Oct 26, 2016
1 parent 633781a commit 4ea359a4f3a75d743eedf3fefe3c36ce3e19ecbb
Showing with 3 additions and 2 deletions.
  1. +2 −1 React/Views/RCTShadowView.h
  2. +1 −1 React/Views/RCTShadowView.m
@@ -138,11 +138,12 @@ typedef void (^RCTApplierBlock)(NSDictionary<NSNumber *, UIView *> *viewRegistry
@property (nonatomic, assign) CSSAlign alignItems;
@property (nonatomic, assign) CSSPositionType position;
@property (nonatomic, assign) CSSWrapType flexWrap;
-@property (nonatomic, assign) CGFloat flex;
@property (nonatomic, assign) CGFloat flexGrow;
@property (nonatomic, assign) CGFloat flexShrink;
@property (nonatomic, assign) CGFloat flexBasis;
+- (void)setFlex:(float)flex;
+
/**
* z-index, used to override sibling order in the view
*/
@@ -615,7 +615,7 @@ - (void)setSize:(CGSize)size
// Flex
-- (void)setFlex:(CGFloat)value
+- (void)setFlex:(float)value
{
CSSNodeStyleSetFlex(_cssNode, value);
}

0 comments on commit 4ea359a

Please sign in to comment.