|
@@ -142,7 +142,7 @@ static NSString* const setDefaultOptions = @"setDefaultOptions";
|
142
|
142
|
RNNNavigationOptions* options = [newVC getLeafViewController].options;
|
143
|
143
|
UIViewController *fromVC = [_store findComponentForId:componentId];
|
144
|
144
|
__weak typeof(RNNEventEmitter*) weakEventEmitter = _eventEmitter;
|
145
|
|
- [_stackManager setStackRoot:newVC fromViewController:fromVC animated:options.animations.push.enable completion:^{
|
|
145
|
+ [_stackManager setStackRoot:newVC fromViewController:fromVC animated:options.animations.setStackRoot.enable completion:^{
|
146
|
146
|
[weakEventEmitter sendOnNavigationCommandCompletion:setStackRoot params:@{@"componentId": componentId}];
|
147
|
147
|
completion();
|
148
|
148
|
} rejection:rejection];
|