|
|
|
@ -3,7 +3,7 @@ import React from 'react';
|
|
|
|
|
import { Provider } from 'react-redux'; |
|
|
|
|
import { PersistGate } from 'redux-persist/integration/react'; |
|
|
|
|
import { StyleSheet, View } from 'react-native'; |
|
|
|
|
import { ActivityIndicator, MD2Colors } from 'react-native-paper'; |
|
|
|
|
import { ActivityIndicator } from 'react-native-paper'; |
|
|
|
|
import { persistor, store } from './appredux/store'; |
|
|
|
|
import AppRoutes from './navigation/AppRoutes' |
|
|
|
|
import Toast from 'react-native-toast-message'; |
|
|
|
@ -16,7 +16,7 @@ const App = () => {
|
|
|
|
|
<Provider store={store}> |
|
|
|
|
<PersistGate loading={ |
|
|
|
|
<View style={styles.container}> |
|
|
|
|
<ActivityIndicator size='large' animating={true} color={colors.blue} /> |
|
|
|
|
<ActivityIndicator size='large' style={{ backgroundColor: colors.pureWhite }} animating={true} color={colors.blue} /> |
|
|
|
|
</View> |
|
|
|
|
} persistor={persistor}> |
|
|
|
|
<GestureHandlerRootView style={{ flex: 1 }}> |
|
|
|
|