mirror of
https://github.com/Jellify-Music/App.git
synced 2026-04-21 17:18:23 -05:00
b6df13bcc3
update deps (nitro-modules, screens, navigation) fix issue where going to the info tab of the app settings would lock the user in place
18 lines
724 B
Diff
18 lines
724 B
Diff
diff --git a/node_modules/react-native-screens/ios/RNSScreen.mm b/node_modules/react-native-screens/ios/RNSScreen.mm
|
|
index 65c18f1..e11b806 100644
|
|
--- a/node_modules/react-native-screens/ios/RNSScreen.mm
|
|
+++ b/node_modules/react-native-screens/ios/RNSScreen.mm
|
|
@@ -928,7 +928,11 @@ - (BOOL)isTransparentModal
|
|
- (void)invalidate
|
|
{
|
|
_controller = nil;
|
|
- [_sheetsScrollView removeObserver:self forKeyPath:@"bounds" context:nil];
|
|
+ @try {
|
|
+ [_sheetsScrollView removeObserver:self forKeyPath:@"bounds" context:nil];
|
|
+ } @catch (NSException *exception) {
|
|
+ RCTLogWarn(@"[RNScreens] Tried to remove observer in invalidate, but it was not registered: %@.", exception);
|
|
+ }
|
|
}
|
|
|
|
#if !TARGET_OS_TV && !TARGET_OS_VISION
|