diff --git a/apple/Elements/RNSVGSvgView.mm b/apple/Elements/RNSVGSvgView.mm index 030578325..f8430d457 100644 --- a/apple/Elements/RNSVGSvgView.mm +++ b/apple/Elements/RNSVGSvgView.mm @@ -99,15 +99,14 @@ - (void)updateProps:(Props::Shared const &)props oldProps:(Props::Shared const & } self.align = RCTNSStringFromStringNilIfEmpty(newProps.align); self.meetOrSlice = intToRNSVGVBMOS(newProps.meetOrSlice); - if (RCTUIColorFromSharedColor(newProps.color)) { - self.color = RCTUIColorFromSharedColor(newProps.color); - } + self.color = RCTUIColorFromSharedColor(newProps.color); [super updateProps:props oldProps:oldProps]; } - (void)prepareForRecycle { [super prepareForRecycle]; + _color = nil; _minX = 0; _minY = 0; _vbWidth = 0;