Skip to content

Commit 14b874f

Browse files
danilobuergerSaadnajmi
authored andcommitted
Updated borderColor view property to UIColor (facebook#33176)
Summary: In facebook@c974cbf I changed the borderColor from CGColor to UIColor. I missed this view property which should also be updated to reflect the original change. ## Changelog [iOS] [Fixed] - Set RCTView borderColor to UIColor Pull Request resolved: facebook#33176 Test Plan: Nothing to test. See PR facebook#29728 Reviewed By: javache Differential Revision: D34461141 Pulled By: genkikondo fbshipit-source-id: 51adf39c1cebe8e3b53285961358e4c7f26192db
1 parent 4607b93 commit 14b874f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

React/Views/RCTViewManager.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ - (RCTShadowView *)shadowView
359359
view.layer.cornerRadius = json ? [RCTConvert CGFloat:json] : defaultView.layer.cornerRadius;
360360
}
361361
}
362-
RCT_CUSTOM_VIEW_PROPERTY(borderColor, CGColor, RCTView)
362+
RCT_CUSTOM_VIEW_PROPERTY(borderColor, UIColor, RCTView)
363363
{
364364
if ([view respondsToSelector:@selector(setBorderColor:)]) {
365365
view.borderColor = json ? [RCTConvert UIColor:json] : defaultView.borderColor;

0 commit comments

Comments
 (0)