|
@@ -176,16 +176,16 @@ function showModal(params) {
|
176
|
176
|
navigatorButtons,
|
177
|
177
|
navigatorEventID
|
178
|
178
|
} = _mergeScreenSpecificSettings(params.screen, screenInstanceID, params);
|
|
179
|
+ const passProps = Object.assign({}, params.passProps);
|
|
180
|
+ passProps.navigatorID = navigatorID;
|
|
181
|
+ passProps.screenInstanceID = screenInstanceID;
|
|
182
|
+ passProps.navigatorEventID = navigatorEventID;
|
179
|
183
|
return (
|
180
|
184
|
<NavigationControllerIOS
|
181
|
185
|
id={navigatorID}
|
182
|
186
|
title={params.title}
|
183
|
187
|
component={params.screen}
|
184
|
|
- passProps={{
|
185
|
|
- navigatorID: navigatorID,
|
186
|
|
- screenInstanceID: screenInstanceID,
|
187
|
|
- navigatorEventID: navigatorEventID
|
188
|
|
- }}
|
|
188
|
+ passProps={passProps}
|
189
|
189
|
style={navigatorStyle}
|
190
|
190
|
leftButtons={navigatorButtons.leftButtons}
|
191
|
191
|
rightButtons={navigatorButtons.rightButtons}
|