mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-16 09:02:24 +03:00
Moved reduxNavigation and routes to navigation folder
This commit is contained in:
parent
e6027d798c
commit
b812573a30
@ -3,7 +3,7 @@ import {
|
|||||||
createSwitchNavigator,
|
createSwitchNavigator,
|
||||||
createStackNavigator,
|
createStackNavigator,
|
||||||
} from 'react-navigation';
|
} from 'react-navigation';
|
||||||
import { BaseNavigator } from '../navigation';
|
import { BaseNavigator } from './baseNavigator';
|
||||||
import { default as ROUTES } from '../constants/routeNames';
|
import { default as ROUTES } from '../constants/routeNames';
|
||||||
|
|
||||||
// Screens
|
// Screens
|
@ -1,4 +1,4 @@
|
|||||||
import Navigator from '../../config/routes';
|
import Navigator from '../../navigation/routes';
|
||||||
|
|
||||||
export default (state, action) => {
|
export default (state, action) => {
|
||||||
const newState = Navigator.router.getStateForAction(action, state);
|
const newState = Navigator.router.getStateForAction(action, state);
|
||||||
|
@ -2,7 +2,7 @@ import React, { Component, Fragment } from 'react';
|
|||||||
import { IntlProvider } from 'react-intl';
|
import { IntlProvider } from 'react-intl';
|
||||||
import { StatusBar, Platform } from 'react-native';
|
import { StatusBar, Platform } from 'react-native';
|
||||||
import EStyleSheet from 'react-native-extended-stylesheet';
|
import EStyleSheet from 'react-native-extended-stylesheet';
|
||||||
import { ReduxNavigation } from '../../../config/reduxNavigation';
|
import { ReduxNavigation } from '../../../navigation/reduxNavigation';
|
||||||
import { flattenMessages } from '../../../utils/flattenMessages';
|
import { flattenMessages } from '../../../utils/flattenMessages';
|
||||||
import messages from '../../../config/locales';
|
import messages from '../../../config/locales';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user