-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
34 lines (30 loc) · 1.05 KB
/
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
import React, {Component} from "react";
import {View, Dimensions, StatusBar} from "react-native";
import {createLocalNotification} from "./general/messages";
import store from "./redux/rxstore"
import {primary} from "./general/color_values";
import {Provider} from "react-redux";
import Constants from "expo-constants";
import MainNavigation from "./nav/MainNavigation";
export default class App extends Component {
componentDidMount() {
createLocalNotification();
}
render() {
return (
<Provider store={store}>
<View
style={{
width: Dimensions.get("window").width,
height: Dimensions.get("window").height,
}}
>
<View style={{height: Constants.statusBarHeight}}>
<StatusBar translucent backgroundColor={primary} barStyle="dark-content"/>
</View>
<MainNavigation/>
</View>
</Provider>
);
}
}