You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- import "react-native-gesture-handler";
- import React from "react";
- import { Provider } from "react-redux";
- import { Provider as PaperProvider } from "react-native-paper";
- import { PersistGate } from "redux-persist/integration/react";
- import { persistor, store } from "./src/store";
- import { getTheme } from "./src/ui/Theme";
- import AppContainer from "./src/AppContainer";
- import { useColorScheme } from "react-native";
-
- export default function App() {
- const colorScheme = useColorScheme();
- const theme = getTheme(colorScheme);
- return (
- <Provider store={store}>
- <PersistGate persistor={persistor} loading={null}>
- <PaperProvider theme={theme}>
- <AppContainer />
- </PaperProvider>
- </PersistGate>
- </Provider>
- );
- }
|