File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/react-native/React/CoreModules Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -101,11 +101,11 @@ - (void)_cleanupObservers
101101 [[NSNotificationCenter defaultCenter ] removeObserver: self
102102 name: RCTAccessibilityManagerDidUpdateMultiplierNotification
103103 object: [_moduleRegistry moduleForName: " AccessibilityManager" ]];
104-
104+ # if !TARGET_OS_VISION
105105 [[NSNotificationCenter defaultCenter ] removeObserver: self
106106 name: UIApplicationDidChangeStatusBarOrientationNotification
107107 object: nil ];
108-
108+ # endif
109109 [[NSNotificationCenter defaultCenter ] removeObserver: self name: UIApplicationDidBecomeActiveNotification object: nil ];
110110
111111 [[NSNotificationCenter defaultCenter ] removeObserver: self name: RCTUserInterfaceStyleDidChangeNotification object: nil ];
You can’t perform that action at this time.
0 commit comments