diff --git a/ComApp/src/App.js b/ComApp/src/App.js index 20aae4f..7fb263d 100644 --- a/ComApp/src/App.js +++ b/ComApp/src/App.js @@ -4,6 +4,7 @@ import * as Sentry from "@sentry/react-native"; // Redux import { Provider } from 'react-redux'; import { store } from './App/Store/ConfigureStore'; +import { initDocuments } from './App/Store/Actions/documents'; // Deps import 'react-native-gesture-handler'; import { NavigationContainer } from '@react-navigation/native'; @@ -88,6 +89,7 @@ class App extends React.Component { onPress={() => { this.state.drawerRef.current.closeDrawer(); store.dispatch({ type: 'EDIT_LOCALE' }); + store.dispatch(initDocuments(store.getState().locale.locale, store.getState().directories.global)) }} style={styles.drawer.btn}>