Advertisement
Guest User

Untitled

a guest
Aug 18th, 2017
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. ```
  2. case 'splash': {
  3. nextState = initialState
  4. break
  5. }
  6.  
  7. case 'auth': {
  8. nextState = Navigation.router.getStateForAction(
  9. NavigationActions.reset({
  10. actions: [NavigationActions.navigate({ routeName: 'Auth' })],
  11. index: 0,
  12. }), state
  13. )
  14. break
  15. }
  16.  
  17. case 'tabs': {
  18. nextState = Navigation.router.getStateForAction(
  19. NavigationActions.reset({
  20. actions: [NavigationActions.navigate({ routeName: 'Tabs' })],
  21. index: 0,
  22. }), state
  23. )
  24. break
  25. }
  26. ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement