Skip to content

Commit 267d36d

Browse files
danilobuergerfacebook-github-bot
authored andcommitted
Updated borderColor view property to UIColor (#33176)
Summary: In 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: #33176 Test Plan: Nothing to test. See PR #29728 Reviewed By: javache Differential Revision: D34461141 Pulled By: genkikondo fbshipit-source-id: 51adf39c1cebe8e3b53285961358e4c7f26192db
1 parent 34c953f commit 267d36d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

React/Views/RCTViewManager.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ - (RCTShadowView *)shadowView
270270
view.layer.cornerRadius = json ? [RCTConvert CGFloat:json] : defaultView.layer.cornerRadius;
271271
}
272272
}
273-
RCT_CUSTOM_VIEW_PROPERTY(borderColor, CGColor, RCTView)
273+
RCT_CUSTOM_VIEW_PROPERTY(borderColor, UIColor, RCTView)
274274
{
275275
if ([view respondsToSelector:@selector(setBorderColor:)]) {
276276
view.borderColor = json ? [RCTConvert UIColor:json] : defaultView.borderColor;

0 commit comments

Comments
 (0)