Browse Source

remove config toast

master
farhantock 6 months ago
parent
commit
bbdfc04e8f
  1. 3
      src/App.js

3
src/App.js

@ -7,7 +7,6 @@ import { ActivityIndicator } from 'react-native-paper';
import { persistor, store } from './appredux/store';
import AppRoutes from './navigation/AppRoutes'
import Toast from 'react-native-toast-message';
import { toastConfig } from './utils/Toast';
import { GestureHandlerRootView } from 'react-native-gesture-handler';
import { colors } from '../src/utils/color'
@ -21,7 +20,7 @@ const App = () => {
} persistor={persistor}>
<GestureHandlerRootView style={{ flex: 1 }}>
<AppRoutes />
<Toast position='bottom' config={toastConfig} visibilityTime={5000} />
<Toast position='bottom' visibilityTime={5000} />
</GestureHandlerRootView>
</PersistGate>
</Provider>

Loading…
Cancel
Save