diff --git a/.github/workflows/ios.yml b/.github/workflows/ios.yml index b02f3546..ec2cf955 100644 --- a/.github/workflows/ios.yml +++ b/.github/workflows/ios.yml @@ -13,6 +13,7 @@ on: paths: - '.github/workflows/ios.yml' - 'ios/**' + - 'common/**' - 'example/ios/**' jobs: ios-build: diff --git a/common/cpp/react/renderer/components/safeareacontext/RNCSafeAreaViewShadowNode.cpp b/common/cpp/react/renderer/components/safeareacontext/RNCSafeAreaViewShadowNode.cpp index 0fe05e50..f66eab4b 100644 --- a/common/cpp/react/renderer/components/safeareacontext/RNCSafeAreaViewShadowNode.cpp +++ b/common/cpp/react/renderer/components/safeareacontext/RNCSafeAreaViewShadowNode.cpp @@ -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;