about summary refs log tree commit diff
path: root/src/App.native.tsx
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2023-04-22 17:14:20 -0500
committerGitHub <noreply@github.com>2023-04-22 17:14:20 -0500
commitd35f7c1f1a9f35958ff3f6dacd002e31b0a824b0 (patch)
tree6d69c883ef34fb3593d42641d25e421222e21635 /src/App.native.tsx
parenteb6b36be61b38d2dab799d8f82b6f65645b9e3f6 (diff)
downloadvoidsky-d35f7c1f1a9f35958ff3f6dacd002e31b0a824b0.tar.zst
Android fixes (#515)
* Fix profile screen performance on android and remove dead code

* Correctly handle android hardware back btn

* Fix EditProfile modal for android

* Fix lint
Diffstat (limited to 'src/App.native.tsx')
-rw-r--r--src/App.native.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/App.native.tsx b/src/App.native.tsx
index e0e030cbc..f4f787a01 100644
--- a/src/App.native.tsx
+++ b/src/App.native.tsx
@@ -13,6 +13,7 @@ import {RootStoreModel, setupState, RootStoreProvider} from './state'
 import {Shell} from './view/shell'
 import * as notifee from 'lib/notifee'
 import * as analytics from 'lib/analytics'
+import * as backHandler from 'lib/routes/back-handler'
 import * as Toast from './view/com/util/Toast'
 import {handleLink} from './Navigation'
 
@@ -28,6 +29,7 @@ const App = observer(() => {
       setRootStore(store)
       analytics.init(store)
       notifee.init(store)
+      backHandler.init(store)
       SplashScreen.hideAsync()
       Linking.getInitialURL().then((url: string | null) => {
         if (url) {