Skip to content

Commit bc90007

Browse files
author
GAME\zengyanling
committed
FIX: lineHeight cannot inherit in ios
1 parent 8f72fc1 commit bc90007

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Libraries/Text/RCTTextAttributes.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ - (instancetype)init
2121
if (self = [super init]) {
2222
_fontSize = NAN;
2323
_letterSpacing = NAN;
24+
_lineHeight = NAN;
2425
_textDecorationStyle = NSUnderlineStyleSingle;
2526
_fontSizeMultiplier = NAN;
2627
_alignment = NSTextAlignmentNatural;

0 commit comments

Comments
 (0)