|
@@ -317,7 +317,7 @@ async function startTabBasedApp(params) {
|
317
|
317
|
params.tabs.forEach(function(tab, idx) {
|
318
|
318
|
if (tab.components) {
|
319
|
319
|
const components = tab.components;
|
320
|
|
- const screen = createBottomTabScreen(tab, idx, params)
|
|
320
|
+ let screen = createBottomTabScreen(tab, idx, params)
|
321
|
321
|
const {label, icon} = screen;
|
322
|
322
|
screen.screens = components.map(c => createBottomTabScreen({...c, icon, label}, idx, params));
|
323
|
323
|
screen.screens.map((s, i) => addTitleBarBackButtonIfNeeded(s));
|