Skip to content

Commit

Permalink
Rename InitialPage to MainScreen
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthieu Napoli committed Sep 5, 2018
1 parent 49ddf51 commit 37a5cc6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion App/Containers/Root/RootScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import StartupActions from 'App/Stores/Startup/Actions'
const AppNav = createStackNavigator(
{
SplashScreen: { screen: SplashScreen },
InitialPage: { screen: ExampleScreen },
MainScreen: { screen: ExampleScreen },
},
{
// By default the application will show the splash screen
Expand Down
2 changes: 1 addition & 1 deletion App/Sagas/StartupSaga.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ export function* startup() {
// ...

// When those operations are finished we redirect to the main screen
NavigationService.navigateAndReset('InitialPage')
NavigationService.navigateAndReset('MainScreen')
}

0 comments on commit 37a5cc6

Please sign in to comment.