Skip to content

Commit f76ca8d

Browse files
authored
fix: fix typo in mixed template for iOS (#331)
fixes #330
1 parent f694d0b commit f76ca8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/create-react-native-library/templates/objc-view-mixed/ios/{%- project.name %}ViewManager.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ - (UIView *)view
1717

1818
RCT_CUSTOM_VIEW_PROPERTY(color, NSString, UIView)
1919
{
20-
[view setBackgroundColor: [Utils hexStringToColor:colorToConvert]];
20+
[view setBackgroundColor: [Utils hexStringToColor:json]];
2121
}
2222

2323
@end

0 commit comments

Comments
 (0)