From d35f7c1f1a9f35958ff3f6dacd002e31b0a824b0 Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Sat, 22 Apr 2023 17:14:20 -0500 Subject: 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 --- src/App.native.tsx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/App.native.tsx') 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) { -- cgit 1.4.1