Skip to content

Commit

Permalink
chore: fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
janicduplessis committed Dec 13, 2023
1 parent e2c8027 commit 1670251
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ namespace react {
class RNCSafeAreaViewComponentDescriptor final
: public ConcreteComponentDescriptor<RNCSafeAreaViewShadowNode> {
using ConcreteComponentDescriptor::ConcreteComponentDescriptor;
void adopt(ShadowNode& shadowNode) const override {
auto& concreteShadowNode =
static_cast<RNCSafeAreaViewShadowNode&>(shadowNode);
void adopt(ShadowNode &shadowNode) const override {
auto &concreteShadowNode =
static_cast<RNCSafeAreaViewShadowNode &>(shadowNode);
concreteShadowNode.adjustLayoutWithState();

ConcreteComponentDescriptor::adopt(shadowNode);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1670251

Please sign in to comment.