Skip to content

Commit

Permalink
fix: safeareaview on new arch
Browse files Browse the repository at this point in the history
  • Loading branch information
janicduplessis committed Jun 17, 2024
1 parent 9db8001 commit ce8aa20
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,13 @@ void RNCSafeAreaViewShadowNode::adjustLayoutWithState() {
defaultMargin);
}

top.points(getEdgeValue(
top = Style::Length::points(getEdgeValue(
edges.top, stateData.insets.top, top.value().unwrapOrDefault(0)));
left.points(getEdgeValue(
left = Style::Length::points(getEdgeValue(
edges.left, stateData.insets.left, left.value().unwrapOrDefault(0)));
right.points(getEdgeValue(
right = Style::Length::points(getEdgeValue(
edges.right, stateData.insets.right, right.value().unwrapOrDefault(0)));
bottom.points(getEdgeValue(
bottom = Style::Length::points(getEdgeValue(
edges.bottom,
stateData.insets.bottom,
bottom.value().unwrapOrDefault(0)));
Expand Down

0 comments on commit ce8aa20

Please sign in to comment.