|
@@ -71,10 +71,10 @@ class StackScreen extends React.Component {
|
71
|
71
|
|
72
|
72
|
search = () => Navigation.push(this, Screens.Search);
|
73
|
73
|
|
74
|
|
- setStackRoot = () => Navigation.setStackRoot(this, stack([
|
|
74
|
+ setStackRoot = () => Navigation.setStackRoot(this, [
|
75
|
75
|
component(Screens.Pushed, { topBar: { title: { text: 'Screen A' } } }),
|
76
|
76
|
component(Screens.Pushed, { topBar: { title: { text: 'Screen B' } } }),
|
77
|
|
- ]));
|
|
77
|
+ ]);
|
78
|
78
|
|
79
|
79
|
setStackRootWithId = () => Navigation.setStackRoot(this,
|
80
|
80
|
{
|