From 2a369e7e479d9ca1f17bf670eeb4b52d5682f362 Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Thu, 28 Dec 2023 15:46:50 -0800 Subject: [PATCH] Disable page-transition animations on android (#2352) --- src/Navigation.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/Navigation.tsx b/src/Navigation.tsx index c9f92721..27174a31 100644 --- a/src/Navigation.tsx +++ b/src/Navigation.tsx @@ -26,7 +26,7 @@ import {BottomBar} from './view/shell/bottom-bar/BottomBar' import {buildStateObject} from 'lib/routes/helpers' import {State, RouteParams} from 'lib/routes/types' import {colors} from 'lib/styles' -import {isNative} from 'platform/detection' +import {isAndroid, isNative} from 'platform/detection' import {useColorSchemeStyle} from 'lib/hooks/useColorSchemeStyle' import {router} from './routes' import {usePalette} from 'lib/hooks/usePalette' @@ -286,6 +286,7 @@ function HomeTabNavigator() { return (