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 ab204e3 commit 5204369Copy full SHA for 5204369
1 file changed
packages/react-native-gesture-handler/apple/RNGestureHandlerDetector.mm
@@ -44,7 +44,11 @@ - (instancetype)initWithFrame:(CGRect)frame
44
45
// TODO: I'm not sure whether this is the correct place for cleanup
46
// Possibly allowing recycling and doing this in prepareForRecycle would be better
47
+#if TARGET_OS_OSX
48
+- (void)willMoveToWindow:(NSWindow *)newWindow
49
+#else
50
- (void)willMoveToWindow:(UIWindow *)newWindow
51
+#endif
52
{
53
if (newWindow == nil) {
54
RNGestureHandlerManager *handlerManager = [RNGestureHandlerModule handlerManagerForModuleId:_moduleId];
0 commit comments