|
@@ -144,6 +144,8 @@ function startTabBasedApp(params) {
|
144
|
144
|
return;
|
145
|
145
|
}
|
146
|
146
|
|
|
147
|
+ const newTabs = [];
|
|
148
|
+
|
147
|
149
|
params.tabs.forEach(function(tab, idx) {
|
148
|
150
|
addNavigatorParams(tab, null, idx);
|
149
|
151
|
addNavigatorButtons(tab);
|
|
@@ -152,12 +154,17 @@ function startTabBasedApp(params) {
|
152
|
154
|
tab.passProps = params.passProps;
|
153
|
155
|
|
154
|
156
|
tab.screenId = tab.screen;
|
155
|
|
- tab.screen = adaptNavigationStyleToScreenStyle(tab);
|
156
|
|
- tab.screen = adaptNavigationParams(tab);
|
|
157
|
+
|
|
158
|
+ let newtab = adaptNavigationStyleToScreenStyle(tab);
|
|
159
|
+ newtab = adaptNavigationParams(tab);
|
|
160
|
+ newTabs.push(newtab);
|
157
|
161
|
});
|
|
162
|
+ params.tabs = newTabs;
|
158
|
163
|
|
159
|
164
|
params.appStyle = convertStyleParams(params.appStyle);
|
160
|
165
|
// TODO: add drawer params
|
|
166
|
+
|
|
167
|
+ console.log('DebuggingIsHell', 'startTabBasedApp:startTabBasedApp()', params);
|
161
|
168
|
newPlatformSpecific.startApp(params);
|
162
|
169
|
}
|
163
|
170
|
|