From df83d61f7a6a603b706336e79b3c9ad3b5c7938b Mon Sep 17 00:00:00 2001 From: RealOrangeOne Date: Fri, 11 Mar 2016 20:53:33 +0000 Subject: [PATCH] Put busyindicator outside navigator --- app/components/app.js | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/app/components/app.js b/app/components/app.js index 0455a62..24dd7e4 100644 --- a/app/components/app.js +++ b/app/components/app.js @@ -36,7 +36,6 @@ export default class extends React.Component { nav={nav} currentRoute={route} {...props} /> - ); } @@ -47,21 +46,24 @@ export default class extends React.Component { render() { return ( - - } - configureScene={(route) => { - if (route.sceneConfig) { - return route.sceneConfig; + + } - return Navigator.SceneConfigs.PushFromRight; - }} - /> + configureScene={(route) => { + if (route.sceneConfig) { + return route.sceneConfig; + } + return Navigator.SceneConfigs.PushFromRight; + }} + /> + + ); } };