From aa648cac8c504f05e7563caada81ca3a28410860 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danilo=20B=C3=BCrger?= Date: Thu, 24 Feb 2022 20:39:36 +0100 Subject: [PATCH] Updated borderColor view property to UIColor In https://github.com/facebook/react-native/commit/c974cbff04a8d90ac0f856dbada3fc5a75c75b49 I changed the borderColor from CGColor to UIColor. I missed this view property which should also be updated to reflect the original change --- React/Views/RCTViewManager.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/React/Views/RCTViewManager.m b/React/Views/RCTViewManager.m index 337356b0439c..b62381f2d39e 100644 --- a/React/Views/RCTViewManager.m +++ b/React/Views/RCTViewManager.m @@ -270,7 +270,7 @@ - (RCTShadowView *)shadowView view.layer.cornerRadius = json ? [RCTConvert CGFloat:json] : defaultView.layer.cornerRadius; } } -RCT_CUSTOM_VIEW_PROPERTY(borderColor, CGColor, RCTView) +RCT_CUSTOM_VIEW_PROPERTY(borderColor, UIColor, RCTView) { if ([view respondsToSelector:@selector(setBorderColor:)]) { view.borderColor = json ? [RCTConvert UIColor:json] : defaultView.borderColor;