From eaaadbb1cd3815ba0483a1c612692aa7ff93f5fe Mon Sep 17 00:00:00 2001 From: sethkfman Date: Wed, 23 Oct 2024 22:41:14 -0600 Subject: [PATCH] re-add date time picker patch --- ...eact-native-community+datetimepicker+7.7.0.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 patches/@react-native-community+datetimepicker+7.7.0.patch diff --git a/patches/@react-native-community+datetimepicker+7.7.0.patch b/patches/@react-native-community+datetimepicker+7.7.0.patch new file mode 100644 index 00000000000..1ebdc150937 --- /dev/null +++ b/patches/@react-native-community+datetimepicker+7.7.0.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 4ff3362..c139440 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 @@ - (void)setTimeZoneName:(NSString *)timeZoneName { + YGNodeMarkDirty(self.yogaNode); + } + +-static YGSize RNDateTimePickerShadowViewMeasure(YGNodeConstRef node, float width, YGMeasureMode widthMode, float height, YGMeasureMode heightMode) ++static YGSize RNDateTimePickerShadowViewMeasure(YGNodeRef node, float width, YGMeasureMode widthMode, float height, YGMeasureMode heightMode) + { + RNDateTimePickerShadowView *shadowPickerView = (__bridge RNDateTimePickerShadowView *)YGNodeGetContext(node); +