diff --git a/common/cpp/react/renderer/components/safeareacontext/RNCSafeAreaViewComponentDescriptor.h b/common/cpp/react/renderer/components/safeareacontext/RNCSafeAreaViewComponentDescriptor.h index 929c7068..a11321dc 100644 --- a/common/cpp/react/renderer/components/safeareacontext/RNCSafeAreaViewComponentDescriptor.h +++ b/common/cpp/react/renderer/components/safeareacontext/RNCSafeAreaViewComponentDescriptor.h @@ -12,9 +12,9 @@ namespace react { class RNCSafeAreaViewComponentDescriptor final : public ConcreteComponentDescriptor { using ConcreteComponentDescriptor::ConcreteComponentDescriptor; - void adopt(ShadowNode& shadowNode) const override { - auto& concreteShadowNode = - static_cast(shadowNode); + void adopt(ShadowNode &shadowNode) const override { + auto &concreteShadowNode = + static_cast(shadowNode); concreteShadowNode.adjustLayoutWithState(); ConcreteComponentDescriptor::adopt(shadowNode); diff --git a/common/cpp/react/renderer/components/safeareacontext/RNCSafeAreaViewShadowNode.cpp b/common/cpp/react/renderer/components/safeareacontext/RNCSafeAreaViewShadowNode.cpp index 4f38757d..b4bf4492 100644 --- a/common/cpp/react/renderer/components/safeareacontext/RNCSafeAreaViewShadowNode.cpp +++ b/common/cpp/react/renderer/components/safeareacontext/RNCSafeAreaViewShadowNode.cpp @@ -10,7 +10,8 @@ namespace react { extern const char RNCSafeAreaViewComponentName[] = "RNCSafeAreaView"; -inline YGValue valueFromEdges(yoga::Style::Edges edges, YGEdge edge, YGEdge axis) { +inline YGValue +valueFromEdges(yoga::Style::Edges edges, YGEdge edge, YGEdge axis) { YGValue edgeValue = edges[edge]; if (edgeValue.unit != YGUnitUndefined) { return edgeValue;