Skip to content

Commit

Permalink
Fix UIView borderWidths not rendering correctly
Browse files Browse the repository at this point in the history
Reviewed By: majak

Differential Revision: D4111231

fbshipit-source-id: f02c8f2ebda4c3e397d746ed5433afea539c9a88
  • Loading branch information
javache authored and Facebook Github Bot committed Nov 1, 2016
1 parent 1a75ba3 commit 95cb4ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion React/Views/RCTViewManager.m
Expand Up @@ -215,7 +215,7 @@ - (RCTViewManagerUIBlock)uiBlockToAmendWithShadowViewRegistry:(__unused NSDictio
RCT_CUSTOM_VIEW_PROPERTY(border##SIDE##Width, float, RCTView) \
{ \
if ([view respondsToSelector:@selector(setBorder##SIDE##Width:)]) { \
view.border##SIDE##Width = json ? [RCTConvert float:json] : defaultView.border##SIDE##Width; \
view.border##SIDE##Width = json ? [RCTConvert CGFloat:json] : defaultView.border##SIDE##Width; \
} \
} \
RCT_CUSTOM_VIEW_PROPERTY(border##SIDE##Color, UIColor, RCTView) \
Expand Down

0 comments on commit 95cb4ea

Please sign in to comment.