Skip to content

Commit

Permalink
return componentId on showModal (#4992)
Browse files Browse the repository at this point in the history
  • Loading branch information
yogevbd authored Apr 17, 2019
1 parent 9dafd16 commit 81dc07d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ios/RNNCommandsHandler.m
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ - (void)showModal:(NSDictionary*)layout commandId:(NSString *)commandId completi
[newVc renderTreeAndWait:[newVc.resolveOptions.animations.showModal.waitForRender getWithDefaultValue:NO] perform:^{
[_modalManager showModal:newVc animated:[newVc.getCurrentChild.resolveOptions.animations.showModal.enable getWithDefaultValue:YES] hasCustomAnimation:newVc.getCurrentChild.resolveOptions.animations.showModal.hasCustomAnimation completion:^(NSString *componentId) {
[_eventEmitter sendOnNavigationCommandCompletion:showModal commandId:commandId params:@{@"layout": layout}];
completion(componentId);
completion(newVc.layoutInfo.componentId);
}];
}];
}
Expand Down

0 comments on commit 81dc07d

Please sign in to comment.