Android & visual fixes: color themes, repost icon, navigation, back handler, etc (#519)

* Switch android to use slide left/right animations on navigation

* Bump the repost icon down by a pixel

* Tune theme colors for contrast and darker bg on darkmode

* Move back handler to a point in the init flow that leads to more consistent capture of events

* Fix image share flow on android

* Fix lint

* Add todo about sharing not available

* Drop the android slide animation because it's too slow

* Fix 'flashes of white' in dark mode android
This commit is contained in:
Paul Frazee 2023-04-24 16:36:05 -05:00 committed by GitHub
parent 9d8600c213
commit da8af38dcc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 54 additions and 36 deletions

View file

@ -13,7 +13,6 @@ 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'
@ -29,7 +28,6 @@ const App = observer(() => {
setRootStore(store)
analytics.init(store)
notifee.init(store)
backHandler.init(store)
SplashScreen.hideAsync()
Linking.getInitialURL().then((url: string | null) => {
if (url) {