Remove redundant warnings for RCTMountingManager

Summary:
Changelog: [internal]

The warnings are in-actionable for product engineers.

Reviewed By: JoshuaGross

Differential Revision: D29911438

fbshipit-source-id: f0f81588e8cbe88059e531c8be302ab19b8eb83f
This commit is contained in:
Samuel Susla 2021-07-27 12:24:09 -07:00 коммит произвёл Facebook GitHub Bot
Родитель eb4297ee91
Коммит c2ba8864f9
1 изменённых файлов: 0 добавлений и 2 удалений

Просмотреть файл

@ -290,11 +290,9 @@ static void RCTPerformMountInstructions(
if (props[@"transform"] &&
!CATransform3DEqualToTransform(
RCTCATransform3DFromTransformMatrix(newViewProps.transform), componentView.layer.transform)) {
RCTLogWarn(@"transform was not applied during [RCTViewComponentView updateProps:oldProps:]");
componentView.layer.transform = RCTCATransform3DFromTransformMatrix(newViewProps.transform);
}
if (props[@"opacity"] && componentView.layer.opacity != (float)newViewProps.opacity) {
RCTLogWarn(@"opacity was not applied during [RCTViewComponentView updateProps:oldProps:]");
componentView.layer.opacity = newViewProps.opacity;
}
}