Skip to content

Commit

Permalink
Fix syntax error: "screen" is read-only (#3237)
Browse files Browse the repository at this point in the history
  • Loading branch information
juankiz authored and guyca committed May 22, 2018
1 parent 59a30ef commit 04e5217
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/deprecated/platformSpecificDeprecated.android.js
Expand Up @@ -317,7 +317,7 @@ async function startTabBasedApp(params) {
params.tabs.forEach(function(tab, idx) {
if (tab.components) {
const components = tab.components;
const screen = createBottomTabScreen(tab, idx, params)
let screen = createBottomTabScreen(tab, idx, params)
const {label, icon} = screen;
screen.screens = components.map(c => createBottomTabScreen({...c, icon, label}, idx, params));
screen.screens.map((s, i) => addTitleBarBackButtonIfNeeded(s));
Expand Down

0 comments on commit 04e5217

Please sign in to comment.