Put busyindicator outside navigator
This commit is contained in:
parent
6daa4493e2
commit
df83d61f7a
1 changed files with 17 additions and 15 deletions
|
@ -36,7 +36,6 @@ export default class extends React.Component {
|
|||
nav={nav}
|
||||
currentRoute={route}
|
||||
{...props} />
|
||||
<BusyIndicator />
|
||||
</View>
|
||||
);
|
||||
}
|
||||
|
@ -47,6 +46,7 @@ export default class extends React.Component {
|
|||
|
||||
render() {
|
||||
return (
|
||||
<View style={{ flex: 1 }}>
|
||||
<Navigator
|
||||
renderScene={this.renderScene}
|
||||
initialRoute={this.initialRoute}
|
||||
|
@ -62,6 +62,8 @@ export default class extends React.Component {
|
|||
return Navigator.SceneConfigs.PushFromRight;
|
||||
}}
|
||||
/>
|
||||
<BusyIndicator />
|
||||
</View>
|
||||
);
|
||||
}
|
||||
};
|
||||
|
|
Reference in a new issue