Skip to content

Commit d7f3a27

Browse files
committed
fix(build): fixes React-RCTText build with RN 0.69.0
1 parent ef6ab3f commit d7f3a27

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

Libraries/Text/React-RCTText.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Pod::Spec.new do |s|
2626
s.author = "Facebook, Inc. and its affiliates"
2727
s.platforms = { :ios => "12.4" }
2828
s.source = source
29-
s.source_files = "**/*.{h,m}"
29+
s.source_files = "**/*.{h,m,mm}"
3030
s.preserve_paths = "package.json", "LICENSE", "LICENSE-docs"
3131
s.header_dir = "RCTText"
3232

Libraries/Text/TextInput/RCTInputAccessoryShadowView.m renamed to Libraries/Text/TextInput/RCTInputAccessoryShadowView.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ @implementation RCTInputAccessoryShadowView
1414
- (void)insertReactSubview:(RCTShadowView *)subview atIndex:(NSInteger)atIndex
1515
{
1616
[super insertReactSubview:subview atIndex:atIndex];
17-
subview.width = (YGValue) { RCTScreenSize().width, YGUnitPoint };
17+
subview.width = (YGValue) { static_cast<float>(RCTScreenSize().width), YGUnitPoint };
1818
}
1919

2020
@end

0 commit comments

Comments
 (0)