Skip to content

Commit 7f495d1

Browse files
committed
Fix adjustMeasuredSize to return correct output
1 parent a8a2ff4 commit 7f495d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ios/RNTextSize.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,7 @@ - (CGFloat)adjustMeasuredSize:(CGFloat)size
651651
}
652652
adjusted = MIN(adjusted, maxSize);
653653

654-
return size;
654+
return adjusted;
655655
}
656656

657657
@end

0 commit comments

Comments
 (0)