Proper implementation of [RCTWrapper sizeThatFits:]

Differential Revision: D6677097

fbshipit-source-id: 8ab3567cd6b0b23e89b8048d324b86700a01979b
This commit is contained in:
Valentin Shergin
2018-01-08 14:43:15 -08:00
committed by Facebook Github Bot
parent 67a3c42d1a
commit c75612219e

View File

@@ -84,7 +84,7 @@
{
UIView *contentView = self.contentView;
if (!contentView) {
return size;
return [super sizeThatFits:size];
}
return [contentView sizeThatFits:size];