diff --git a/common/cpp/react/renderer/components/safeareacontext/RNCSafeAreaViewState.cpp b/common/cpp/react/renderer/components/safeareacontext/RNCSafeAreaViewState.cpp index ea9327f0..c7c1e8c0 100644 --- a/common/cpp/react/renderer/components/safeareacontext/RNCSafeAreaViewState.cpp +++ b/common/cpp/react/renderer/components/safeareacontext/RNCSafeAreaViewState.cpp @@ -3,6 +3,8 @@ namespace facebook { namespace react { +RNCSafeAreaViewState::RNCSafeAreaViewState() = default; + #ifdef ANDROID folly::dynamic RNCSafeAreaViewState::getDynamic() const { diff --git a/common/cpp/react/renderer/components/safeareacontext/RNCSafeAreaViewState.h b/common/cpp/react/renderer/components/safeareacontext/RNCSafeAreaViewState.h index f78a6085..0125c3d7 100644 --- a/common/cpp/react/renderer/components/safeareacontext/RNCSafeAreaViewState.h +++ b/common/cpp/react/renderer/components/safeareacontext/RNCSafeAreaViewState.h @@ -32,7 +32,7 @@ class JSI_EXPORT RNCSafeAreaViewState final { public: using Shared = std::shared_ptr; - RNCSafeAreaViewState(){}; + RNCSafeAreaViewState(); #ifdef ANDROID RNCSafeAreaViewState( diff --git a/ios/Fabric/RNCSafeAreaProviderComponentView.mm b/ios/Fabric/RNCSafeAreaProviderComponentView.mm index f315ccda..95e911d5 100644 --- a/ios/Fabric/RNCSafeAreaProviderComponentView.mm +++ b/ios/Fabric/RNCSafeAreaProviderComponentView.mm @@ -106,9 +106,9 @@ - (void)invalidateSafeAreaInsets .insets = { .top = safeAreaInsets.top, - .left = safeAreaInsets.left, - .bottom = safeAreaInsets.bottom, .right = safeAreaInsets.right, + .bottom = safeAreaInsets.bottom, + .left = safeAreaInsets.left, }, .frame = {