Skip to content

Commit

Permalink
refactor: use positive condition in RNCSafeAreaViewShadowNode.cpp (#580)
Browse files Browse the repository at this point in the history
* refactor: use positive condition

* chore: run ci on changes to common
  • Loading branch information
vonovak authored Jan 29, 2025
1 parent 6590313 commit a69bb65
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ on:
paths:
- '.github/workflows/ios.yml'
- 'ios/**'
- 'common/**'
- 'example/ios/**'
jobs:
ios-build:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ inline Style::Length valueFromEdges(
Style::Length edge,
Style::Length axis,
Style::Length defaultValue) {
if (!edge.isUndefined()) {
if (edge.isDefined()) {
return edge;
}
if (!axis.isUndefined()) {
if (axis.isDefined()) {
return axis;
}
return defaultValue;
Expand Down

0 comments on commit a69bb65

Please # to comment.