Refactor to using RNP & UI Updates.
This commit is contained in:
16
App.js
16
App.js
@@ -26,29 +26,17 @@ const theme = {
|
||||
...DefaultTheme,
|
||||
colors: {
|
||||
...DefaultTheme.colors,
|
||||
primary: "tomato",
|
||||
accent: "yellow",
|
||||
primary: "dodgerblue",
|
||||
accent: "tomato",
|
||||
},
|
||||
};
|
||||
|
||||
export default class App extends React.Component {
|
||||
// constructor(props) {
|
||||
// super(props);
|
||||
// this.state = {
|
||||
// isReady: false,
|
||||
// };
|
||||
// }
|
||||
|
||||
async componentDidMount() {
|
||||
logImEXEvent("imexmobile_app_start");
|
||||
//this.setState({ isReady: true });
|
||||
}
|
||||
|
||||
render() {
|
||||
// if (!this.state.isReady) {
|
||||
// return <AppLoading />;
|
||||
// }
|
||||
|
||||
return (
|
||||
<Provider store={store}>
|
||||
<PersistGate persistor={persistor}>
|
||||
|
||||
Reference in New Issue
Block a user