From 69a692d4f263da56138f8d333fdbc504b6a48ff7 Mon Sep 17 00:00:00 2001 From: Diego Mello Date: Mon, 18 Mar 2024 13:44:31 -0300 Subject: [PATCH] Patch @react-native-community/datetimepicker --- ...eact-native-community+datetimepicker+7.6.2.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 patches/@react-native-community+datetimepicker+7.6.2.patch diff --git a/patches/@react-native-community+datetimepicker+7.6.2.patch b/patches/@react-native-community+datetimepicker+7.6.2.patch new file mode 100644 index 000000000..bb98bc0e7 --- /dev/null +++ b/patches/@react-native-community+datetimepicker+7.6.2.patch @@ -0,0 +1,13 @@ +diff --git a/node_modules/@react-native-community/datetimepicker/ios/RNDateTimePickerShadowView.m b/node_modules/@react-native-community/datetimepicker/ios/RNDateTimePickerShadowView.m +index c139440..4ff3362 100644 +--- a/node_modules/@react-native-community/datetimepicker/ios/RNDateTimePickerShadowView.m ++++ b/node_modules/@react-native-community/datetimepicker/ios/RNDateTimePickerShadowView.m +@@ -41,7 +41,7 @@ + YGNodeMarkDirty(self.yogaNode); + } + +-static YGSize RNDateTimePickerShadowViewMeasure(YGNodeRef node, float width, YGMeasureMode widthMode, float height, YGMeasureMode heightMode) ++static YGSize RNDateTimePickerShadowViewMeasure(YGNodeConstRef node, float width, YGMeasureMode widthMode, float height, YGMeasureMode heightMode) + { + RNDateTimePickerShadowView *shadowPickerView = (__bridge RNDateTimePickerShadowView *)YGNodeGetContext(node); +