Put busyindicator outside navigator

This commit is contained in:
Jake Howard 2016-03-11 20:53:33 +00:00
parent 6daa4493e2
commit df83d61f7a

View file

@ -36,7 +36,6 @@ export default class extends React.Component {
nav={nav} nav={nav}
currentRoute={route} currentRoute={route}
{...props} /> {...props} />
<BusyIndicator />
</View> </View>
); );
} }
@ -47,6 +46,7 @@ export default class extends React.Component {
render() { render() {
return ( return (
<View style={{ flex: 1 }}>
<Navigator <Navigator
renderScene={this.renderScene} renderScene={this.renderScene}
initialRoute={this.initialRoute} initialRoute={this.initialRoute}
@ -62,6 +62,8 @@ export default class extends React.Component {
return Navigator.SceneConfigs.PushFromRight; return Navigator.SceneConfigs.PushFromRight;
}} }}
/> />
<BusyIndicator />
</View>
); );
} }
}; };