Skip to content

Commit

Permalink
Fix title.component fill parent
Browse files Browse the repository at this point in the history
  • Loading branch information
yogevbd committed Jan 26, 2020
1 parent 0e93366 commit 7e6b2be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ios/RNNReactTitleView.m
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ - (CGSize)intrinsicContentSize {
- (void)setAlignment:(NSString *)alignment inFrame:(CGRect)frame {
if ([alignment isEqualToString:@"fill"]) {
_fillParent = YES;
self.frame = frame;
self.translatesAutoresizingMaskIntoConstraints = NO;
self.sizeFlexibility = RCTRootViewSizeFlexibilityNone;
} else {
self.sizeFlexibility = RCTRootViewSizeFlexibilityWidthAndHeight;
Expand Down

0 comments on commit 7e6b2be

Please sign in to comment.