/**
 * Sample React Native App
 * https://github.com/facebook/react-native
 * @flow
 */

import React, { Component } from 'react';
import {
  AppRegistry
} from 'react-native';
import {Provider} from 'react-redux'

import store from './src/store'
import RootView from './src/components/RootView'

const Fussbolito = React.createClass({
  render() {
    return (
      <Provider store={store}>
        <RootView />
      </Provider>
    );
  }
})

AppRegistry.registerComponent('Fussbolito', () => Fussbolito);

/**
 * Sample React Native App
 * https://github.com/facebook/react-native
 * @flow
 */

import React, { Component } from 'react';
import {
  AppRegistry,
  StyleSheet,
  Text,
  View
} from 'react-native';
import {Provider} from 'react-redux'

import MatchView from './src/components/MatchView'
import store from './src/store'

class Fussbolito extends Component {
  render() {
    return (
      <Provider store={store}>
        <MatchView/>
      </Provider>
    );
  }
}

AppRegistry.registerComponent('Fussbolito', () => Fussbolito);

--- 
+++ 
@@ -6,21 +6,24 @@
 
 import React, { Component } from 'react';
 import {
-  AppRegistry
+  AppRegistry,
+  StyleSheet,
+  Text,
+  View
 } from 'react-native';
 import {Provider} from 'react-redux'
 
+import MatchView from './src/components/MatchView'
 import store from './src/store'
-import RootView from './src/components/RootView'
 
-const Fussbolito = React.createClass({
+class Fussbolito extends Component {
   render() {
     return (
       <Provider store={store}>
-        <RootView />
+        <MatchView/>
       </Provider>
     );
   }
-})
+}
 
 AppRegistry.registerComponent('Fussbolito', () => Fussbolito);
Use new RootView also on Android
