about summary refs log tree commit diff
path: root/src/App.native.tsx
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2023-11-01 10:15:37 -0500
committerEric Bailey <git@esb.lol>2023-11-01 10:15:37 -0500
commitb42806a6e0466619ecf2db014af5f0c1f90b805a (patch)
treedddc945f26920d9194530004b06b76c0d0f08019 /src/App.native.tsx
parentadb5ce29614e21e1f061fb4be9c4a7887d0b6869 (diff)
downloadvoidsky-b42806a6e0466619ecf2db014af5f0c1f90b805a.tar.zst
Revise icons startup code
Diffstat (limited to 'src/App.native.tsx')
-rw-r--r--src/App.native.tsx16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/App.native.tsx b/src/App.native.tsx
index f4298c461..f0b1a1bc5 100644
--- a/src/App.native.tsx
+++ b/src/App.native.tsx
@@ -1,20 +1,23 @@
 import 'react-native-url-polyfill/auto'
+import 'lib/sentry' // must be near top
+
 import React, {useState, useEffect} from 'react'
-import 'lib/sentry' // must be relatively on top
-import {withSentry} from 'lib/sentry'
 import {RootSiblingParent} from 'react-native-root-siblings'
 import * as SplashScreen from 'expo-splash-screen'
 import {GestureHandlerRootView} from 'react-native-gesture-handler'
 import {observer} from 'mobx-react-lite'
+import {QueryClientProvider} from '@tanstack/react-query'
+
+import 'view/icons'
+
+import {withSentry} from 'lib/sentry'
 import {ThemeProvider} from 'lib/ThemeContext'
 import {s} from 'lib/styles'
-import * as view from './view/index'
 import {RootStoreModel, setupState, RootStoreProvider} from './state'
-import {Shell} from './view/shell'
+import {Shell} from 'view/shell'
 import * as notifications from 'lib/notifications/notifications'
 import * as analytics from 'lib/analytics/analytics'
-import * as Toast from './view/com/util/Toast'
-import {QueryClientProvider} from '@tanstack/react-query'
+import * as Toast from 'view/com/util/Toast'
 import {queryClient} from 'lib/react-query'
 import {TestCtrls} from 'view/com/testing/TestCtrls'
 
@@ -27,7 +30,6 @@ const App = observer(function AppImpl() {
 
   // init
   useEffect(() => {
-    view.setup()
     setupState().then(store => {
       setRootStore(store)
       analytics.init(store)