-
Notifications
You must be signed in to change notification settings - Fork 2
/
App.js
37 lines (33 loc) · 854 Bytes
/
App.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/**
* Sample React Native App
* https://github.com/facebook/react-native
*
* @format
* @flow
*/
import React, {Component} from 'react';
import {Platform, StatusBar, YellowBox} from 'react-native';
import Navigation from './src/navigation/index';
import Colors from "./src/helpers/Colors";
import {Provider} from "react-redux";
import {store} from "./src/redux/store/store";
YellowBox.ignoreWarnings(['']);
export default class App extends Component<Props> {
constructor(props) {
super(props);
if (Platform.OS === 'ios') {
/** StatusBar Style */
StatusBar.setBarStyle('light-content');
// StatusBar.setBarStyle('dark-content');
} else {
StatusBar.setBackgroundColor(Colors.black);
}
}
render() {
return (
<Provider store={store}>
<Navigation/>
</Provider>
);
}
}