File tree Expand file tree Collapse file tree 1 file changed +23
-17
lines changed
Expand file tree Collapse file tree 1 file changed +23
-17
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import {queryClient, persister} from './init/tanstack-query'
1313import * as React from 'react'
1414import { PersistGate } from 'redux-persist/integration/react'
1515import { Provider as ReduxProvider } from 'react-redux'
16- // import {Provider as PaperProvider} from 'react-native-paper'
16+ import { Provider as PaperProvider } from 'react-native-paper'
1717import { PersistQueryClientProvider } from '@tanstack/react-query-persist-client'
1818import { store , persistor } from './redux'
1919import { CombinedLightTheme , CombinedDarkTheme } from '@frogpond/app-theme'
@@ -39,22 +39,28 @@ export default function App(): JSX.Element {
3939 client = { queryClient }
4040 persistOptions = { { persister} }
4141 >
42- < ActionSheetProvider >
43- < NavigationContainer
44- onReady = { ( ) => {
45- // Register the navigation container with the instrumentation
46- sentryInit . routingInstrumentation . registerNavigationContainer (
47- navigationRef ,
48- )
49- } }
50- theme = { scheme === 'dark' ? CombinedDarkTheme : CombinedLightTheme }
51- >
52- < StatusBar
53- barStyle = { scheme === 'dark' ? 'light-content' : 'dark-content' }
54- />
55- < RootStack />
56- </ NavigationContainer >
57- </ ActionSheetProvider >
42+ < PaperProvider >
43+ < ActionSheetProvider >
44+ < NavigationContainer
45+ onReady = { ( ) => {
46+ // Register the navigation container with the instrumentation
47+ sentryInit . routingInstrumentation . registerNavigationContainer (
48+ navigationRef ,
49+ )
50+ } }
51+ theme = {
52+ scheme === 'dark' ? CombinedDarkTheme : CombinedLightTheme
53+ }
54+ >
55+ < StatusBar
56+ barStyle = {
57+ scheme === 'dark' ? 'light-content' : 'dark-content'
58+ }
59+ />
60+ < RootStack />
61+ </ NavigationContainer >
62+ </ ActionSheetProvider >
63+ </ PaperProvider >
5864 </ PersistQueryClientProvider >
5965 </ PersistGate >
6066 </ ReduxProvider >
You can’t perform that action at this time.
0 commit comments