react-native-navigation 7.23.1-snapshot.402 → 7.23.1-snapshot.405

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -113,7 +113,6 @@
113
113
  - (void)onBridgeWillReload {
114
114
  dispatch_async(dispatch_get_main_queue(), ^{
115
115
  [self->_overlayManager dismissAllOverlays];
116
- [self->_modalManager dismissAllModalsSynchronosly];
117
116
  [self->_componentRegistry clear];
118
117
  UIApplication.sharedApplication.delegate.window.rootViewController = nil;
119
118
  });
@@ -22,7 +22,6 @@ typedef void (^RNNTransitionRejectionBlock)(NSString *_Nonnull code, NSString *_
22
22
  animated:(BOOL)animated
23
23
  completion:(RNNTransitionCompletionBlock _Nullable)completion;
24
24
  - (void)dismissAllModalsAnimated:(BOOL)animated completion:(void (^__nullable)(void))completion;
25
- - (void)dismissAllModalsSynchronosly;
26
25
 
27
26
  - (void)reset;
28
27
 
@@ -130,21 +130,6 @@
130
130
  completion();
131
131
  }
132
132
 
133
- - (void)dismissAllModalsSynchronosly {
134
- if (_presentedModals.count) {
135
- dispatch_semaphore_t sem = dispatch_semaphore_create(0);
136
- [self dismissAllModalsAnimated:NO
137
- completion:^{
138
- dispatch_semaphore_signal(sem);
139
- }];
140
-
141
- while (dispatch_semaphore_wait(sem, DISPATCH_TIME_NOW)) {
142
- [[NSRunLoop currentRunLoop] runMode:NSDefaultRunLoopMode
143
- beforeDate:[NSDate dateWithTimeIntervalSinceNow:0]];
144
- }
145
- }
146
- }
147
-
148
133
  - (void)reset {
149
134
  [_presentedModals removeAllObjects];
150
135
  [_pendingModalIdsToDismiss removeAllObjects];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-navigation",
3
- "version": "7.23.1-snapshot.402",
3
+ "version": "7.23.1-snapshot.405",
4
4
  "description": "React Native Navigation - truly native navigation for iOS and Android",
5
5
  "license": "MIT",
6
6
  "nativePackage": true,