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
101
101
[[NSNotificationCenter defaultCenter ] removeObserver: self
102
102
name: RCTAccessibilityManagerDidUpdateMultiplierNotification
103
103
object: [_moduleRegistry moduleForName: " AccessibilityManager" ]];
104
-
104
+ # if !TARGET_OS_VISION
105
105
[[NSNotificationCenter defaultCenter ] removeObserver: self
106
106
name: UIApplicationDidChangeStatusBarOrientationNotification
107
107
object: nil ];
108
-
108
+ # endif
109
109
[[NSNotificationCenter defaultCenter ] removeObserver: self name: UIApplicationDidBecomeActiveNotification object: nil ];
110
110
111
111
[[NSNotificationCenter defaultCenter ] removeObserver: self name: RCTUserInterfaceStyleDidChangeNotification object: nil ];
You can’t perform that action at this time.
0 commit comments