We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec3f17d commit 1502684Copy full SHA for 1502684
1 file changed
packages/react-native-gesture-handler/apple/RNGestureHandlerButton.mm
@@ -150,11 +150,9 @@ - (NSString *)accessibilityLabel
150
151
return str;
152
}
153
-#endif
154
155
-// TODO: Combine all "if TARGET_OS_OSX" macros in this file
+#else
156
157
-#if TARGET_OS_OSX
158
- (void)mountChildComponentView:(RNGHUIView *)childComponentView index:(NSInteger)index
159
{
160
if (childComponentView.superview != nil) {
@@ -207,6 +205,7 @@ - (void)updateLayoutMetrics:(const facebook::react::LayoutMetrics &)layoutMetric
207
205
self.hidden = layoutMetrics.displayType == facebook::react::DisplayType::None;
208
206
209
+
210
#endif
211
212
@end
0 commit comments