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

import { Navigation } from 'react-native-navigation';

import {createStore, applyMiddleware, combineReducers} from 'redux';
import {Provider} from 'react-redux';
import thunk from 'redux-thunk';
import * as reducers from './reducers';
import {registerScreens} from './screens';
import { AsyncStorage } from 'react-native';

import * as appActions from './reducers/app/actions';
import * as firebaseActions from './reducers/firebase/actions';

const createStoreWithMiddleware = applyMiddleware(thunk)(createStore);
const reducer = combineReducers(reducers);
const store = createStoreWithMiddleware(reducer);

registerScreens(store, Provider);

export default class App {
  constructor() {
    store.dispatch(appActions.appInitializedAction());
  }

  startApp() {
    Navigation.startTabBasedApp({
      tabs: [
        {
          label: 'Feed',
          screen: 'MovieHack.FeedTabScreen',
          title: 'Movies Feed',

          icon: require('../assets/icons/feed.png'),

          navigatorStyle: darkNavigatorStyle,
        },
        {
          label: 'To Watch',
          screen: 'MovieHack.ToWatchTabScreen',
          title: 'To Watch',
          navigatorStyle: darkNavigatorStyle,
        },
        {
          label: 'Test More Info Movie',
          screen: 'MovieHack.MoreInfoScreen',
          title: 'Movie Info',

          navigatorStyle: darkNavigatorStyle,
        }
      ],
      navigatorStyle: darkNavigatorStyle,
      tabsStyle: darkTabBarStyle,
    });
  }
}

const darkNavigatorStyle = {
  navBarTextColor: '#f7f7f7', // change the text color of the title (remembered across pushes)
  navBarBackgroundColor: '#920009', // change the background color of the nav bar (remembered across pushes)
  navBarButtonColor: '#007aff', // change the button colors of the nav bar (eg. the back button) (remembered across pushes)
  navBarHidden: false, // make the nav bar hidden
  navBarHideOnScroll: false, // make the nav bar hidden only after the user starts to scroll
  navBarTranslucent: false, // make the nav bar semi-translucent, works best with drawUnderNavBar:true
  navBarTransparent: false, // make the nav bar transparent, works best with drawUnderNavBar:true
  navBarNoBorder: false, // hide the navigation bar bottom border (hair line)
  drawUnderNavBar: false, // draw the screen content under the nav bar, works best with navBarTranslucent:true
  drawUnderTabBar: false, // draw the screen content under the tab bar (the tab bar is always translucent)
  statusBarBlur: false, // blur the area under the status bar, works best with navBarHidden:true
  navBarBlur: false, // blur the entire nav bar, works best with drawUnderNavBar:true
  tabBarHidden: false, // make the screen content hide the tab bar (remembered across pushes)
  statusBarHideWithNavBar: false, // hide the status bar if the nav bar is also hidden, useful for navBarHidden:true
  statusBarHidden: false, // make the status bar hidden regardless of nav bar state
  statusBarTextColorScheme: 'dark' // text color of status bar, 'dark' / 'light' (remembered across pushes)<commit_msg>Remove more info tab<commit_after>/**
 * Sample React Native App
 * https://github.com/facebook/react-native
 * @flow
 */

import { Navigation } from 'react-native-navigation';

import {createStore, applyMiddleware, combineReducers} from 'redux';
import {Provider} from 'react-redux';
import thunk from 'redux-thunk';
import * as reducers from './reducers';
import {registerScreens} from './screens';
import { AsyncStorage } from 'react-native';

import * as appActions from './reducers/app/actions';
import * as firebaseActions from './reducers/firebase/actions';

const createStoreWithMiddleware = applyMiddleware(thunk)(createStore);
const reducer = combineReducers(reducers);
const store = createStoreWithMiddleware(reducer);

registerScreens(store, Provider);

export default class App {
  constructor() {
    store.dispatch(appActions.appInitializedAction());
  }

  startApp() {
    Navigation.startTabBasedApp({
      tabs: [
        {
          label: 'Feed',
          screen: 'MovieHack.FeedTabScreen',
          title: 'Movies Feed',

          icon: require('../assets/icons/feed.png'),

          navigatorStyle: darkNavigatorStyle,
        },
        {
          label: 'To Watch',
          screen: 'MovieHack.ToWatchTabScreen',
          title: 'To Watch',
          navigatorStyle: darkNavigatorStyle,
          icon: require('../assets/icons/feed.png'),
        }
      ],
      navigatorStyle: darkNavigatorStyle,
      tabsStyle: darkTabBarStyle,
    });
  }
}

const darkNavigatorStyle = {
  navBarTextColor: '#f7f7f7', // change the text color of the title (remembered across pushes)
  navBarBackgroundColor: '#920009', // change the background color of the nav bar (remembered across pushes)
  navBarButtonColor: '#007aff', // change the button colors of the nav bar (eg. the back button) (remembered across pushes)
  navBarHidden: false, // make the nav bar hidden
  navBarHideOnScroll: false, // make the nav bar hidden only after the user starts to scroll
  navBarTranslucent: false, // make the nav bar semi-translucent, works best with drawUnderNavBar:true
  navBarTransparent: false, // make the nav bar transparent, works best with drawUnderNavBar:true
  navBarNoBorder: false, // hide the navigation bar bottom border (hair line)
  drawUnderNavBar: false, // draw the screen content under the nav bar, works best with navBarTranslucent:true
  drawUnderTabBar: false, // draw the screen content under the tab bar (the tab bar is always translucent)
  statusBarBlur: false, // blur the area under the status bar, works best with navBarHidden:true
  navBarBlur: false, // blur the entire nav bar, works best with drawUnderNavBar:true
  tabBarHidden: false, // make the screen content hide the tab bar (remembered across pushes)
  statusBarHideWithNavBar: false, // hide the status bar if the nav bar is also hidden, useful for navBarHidden:true
  statusBarHidden: false, // make the status bar hidden regardless of nav bar state
  statusBarTextColorScheme: 'dark' // text color of status bar, 'dark' / 'light' (remembered across pushes)
{'fraction_non_alphanumeric': 0.09622762148337596, 'fraction_numerical': 0.0038363171355498722, 'mean_word_length': 3.6555059523809526, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7603236', 'n_tokens_mistral': 1782, 'n_tokens_neox': 1715, 'n_words': 610}