Permalink
Browse files

Proper implementation of [RCTWrapper sizeThatFits:]

Differential Revision: D6677097

fbshipit-source-id: 8ab3567cd6b0b23e89b8048d324b86700a01979b
  • Loading branch information...
shergin authored and facebook-github-bot committed Jan 8, 2018
1 parent 67a3c42 commit c75612219ef0c99d1ddca0aadf354f20de27608c
Showing with 1 addition and 1 deletion.
  1. +1 −1 Libraries/Wrapper/RCTWrapperView.m
@@ -84,7 +84,7 @@ - (CGSize)sizeThatFits:(CGSize)size
{
UIView *contentView = self.contentView;
if (!contentView) {
return size;
return [super sizeThatFits:size];
}
return [contentView sizeThatFits:size];

0 comments on commit c756122

Please sign in to comment.