diff --git a/index.android.js b/index.android.js index c65655c5f..18e7a7c36 100644 --- a/index.android.js +++ b/index.android.js @@ -3,46 +3,20 @@ import React from 'react'; -import { - AppRegistry, - StyleSheet, - Text, - View -} from 'react-native'; +import {AppRegistry} from 'react-native'; +import configureStore from 'store/configureStore.js'; -const styles = StyleSheet.create({ - container: { - flex: 1, - justifyContent: 'center', - alignItems: 'center', - backgroundColor: '#F5FCFF' - }, - welcome: { - fontSize: 20, - textAlign: 'center', - margin: 10 - }, - instructions: { - textAlign: 'center', - color: '#333333', - marginBottom: 5 - } -}); +import {Provider} from 'react-redux'; +import RootContainer from 'containers/root_container.js'; + +const store = configureStore(); class Mattermost extends React.Component { render() { return ( - - - {'Welcome to React Native!'} - - - {'To get started, edit index.android.jsx'} - - - {'Double tap R on your keyboard to reload\nShake or press menu button for dev menu'} - - + + + ); } }