|
@@ -230,6 +230,8 @@ static NSString* const setDefaultOptions = @"setDefaultOptions";
|
230
|
230
|
[_eventEmitter sendOnNavigationCommandCompletion:dismissModal params:@{@"componentId": componentId}];
|
231
|
231
|
}];
|
232
|
232
|
UIViewController<RNNRootViewProtocol> *modalToDismiss = (UIViewController<RNNRootViewProtocol>*)[_store findComponentForId:componentId];
|
|
233
|
+ [self removePopedViewControllers:modalToDismiss.navigationController.viewControllers];
|
|
234
|
+
|
233
|
235
|
[_modalManager dismissModal:modalToDismiss completion:completion];
|
234
|
236
|
|
235
|
237
|
[CATransaction commit];
|