diff --git a/Libraries/Text/RCTTextAttributes.m b/Libraries/Text/RCTTextAttributes.m index 4309138d00fe09..82b89da103ea60 100644 --- a/Libraries/Text/RCTTextAttributes.m +++ b/Libraries/Text/RCTTextAttributes.m @@ -88,17 +88,13 @@ - (void)applyTextAttributes:(RCTTextAttributes *)textAttributes attributes[NSFontAttributeName] = font; } - // Colors + // Color UIColor *effectiveForegroundColor = self.effectiveForegroundColor; if (_foregroundColor || !isnan(_opacity)) { attributes[NSForegroundColorAttributeName] = effectiveForegroundColor; } - if (_backgroundColor || !isnan(_opacity)) { - attributes[NSBackgroundColorAttributeName] = self.effectiveBackgroundColor; - } - // Kerning if (!isnan(_letterSpacing)) { attributes[NSKernAttributeName] = @(_letterSpacing);