|
@@ -185,9 +185,9 @@ function _mergeScreenSpecificSettings(screenID, screenInstanceID, params) {
|
185
|
185
|
}
|
186
|
186
|
|
187
|
187
|
let navigatorEventID = screenInstanceID + '_events';
|
188
|
|
- let navigatorButtons = JSON.parse(JSON.stringify(screenClass.navigatorButtons));
|
|
188
|
+ let navigatorButtons = _.cloneDeep(screenClass.navigatorButtons);
|
189
|
189
|
if (params.navigatorButtons) {
|
190
|
|
- navigatorButtons = JSON.parse(JSON.stringify(params.navigatorButtons));
|
|
190
|
+ navigatorButtons = _.cloneDeep(params.navigatorButtons);
|
191
|
191
|
}
|
192
|
192
|
if (navigatorButtons.leftButtons) {
|
193
|
193
|
for (let i = 0; i < navigatorButtons.leftButtons.length; i++) {
|
|
@@ -230,7 +230,7 @@ function navigatorPush(navigator, params) {
|
230
|
230
|
|
231
|
231
|
Controllers.NavigationControllerIOS(navigator.navigatorID).push({
|
232
|
232
|
title: params.title,
|
233
|
|
- subtitle:params.subtitle,
|
|
233
|
+ subtitle: params.subtitle,
|
234
|
234
|
titleImage: params.titleImage,
|
235
|
235
|
component: params.screen,
|
236
|
236
|
animated: params.animated,
|