my fork of the bluesky client

Use android native animations (#6562)

authored by samuel.fm and committed by

GitHub d9ba324d 72326844

+1 -7
+1 -7
src/Navigation.tsx
··· 32 import {RouteParams, State} from '#/lib/routes/types' 33 import {attachRouteToLogEvents, logEvent} from '#/lib/statsig/statsig' 34 import {bskyTitle} from '#/lib/strings/headings' 35 - import {isAndroid, isNative, isWeb} from '#/platform/detection' 36 import {useModalControls} from '#/state/modals' 37 import {useUnreadNotifications} from '#/state/queries/notifications/unread' 38 import {useSession} from '#/state/session' ··· 453 return ( 454 <HomeTab.Navigator 455 screenOptions={{ 456 - animation: isAndroid ? 'ios' : undefined, 457 animationDuration: 285, 458 gestureEnabled: true, 459 fullScreenGestureEnabled: true, ··· 472 return ( 473 <SearchTab.Navigator 474 screenOptions={{ 475 - animation: isAndroid ? 'ios' : undefined, 476 animationDuration: 285, 477 gestureEnabled: true, 478 fullScreenGestureEnabled: true, ··· 490 return ( 491 <NotificationsTab.Navigator 492 screenOptions={{ 493 - animation: isAndroid ? 'ios' : undefined, 494 animationDuration: 285, 495 gestureEnabled: true, 496 fullScreenGestureEnabled: true, ··· 512 return ( 513 <MyProfileTab.Navigator 514 screenOptions={{ 515 - animation: isAndroid ? 'ios' : undefined, 516 animationDuration: 285, 517 gestureEnabled: true, 518 fullScreenGestureEnabled: true, ··· 538 return ( 539 <MessagesTab.Navigator 540 screenOptions={{ 541 - animation: isAndroid ? 'ios' : undefined, 542 animationDuration: 285, 543 gestureEnabled: true, 544 fullScreenGestureEnabled: true, ··· 572 <Flat.Navigator 573 screenListeners={screenListeners} 574 screenOptions={{ 575 - animation: isAndroid ? 'ios' : undefined, 576 animationDuration: 285, 577 gestureEnabled: true, 578 fullScreenGestureEnabled: true,
··· 32 import {RouteParams, State} from '#/lib/routes/types' 33 import {attachRouteToLogEvents, logEvent} from '#/lib/statsig/statsig' 34 import {bskyTitle} from '#/lib/strings/headings' 35 + import {isNative, isWeb} from '#/platform/detection' 36 import {useModalControls} from '#/state/modals' 37 import {useUnreadNotifications} from '#/state/queries/notifications/unread' 38 import {useSession} from '#/state/session' ··· 453 return ( 454 <HomeTab.Navigator 455 screenOptions={{ 456 animationDuration: 285, 457 gestureEnabled: true, 458 fullScreenGestureEnabled: true, ··· 471 return ( 472 <SearchTab.Navigator 473 screenOptions={{ 474 animationDuration: 285, 475 gestureEnabled: true, 476 fullScreenGestureEnabled: true, ··· 488 return ( 489 <NotificationsTab.Navigator 490 screenOptions={{ 491 animationDuration: 285, 492 gestureEnabled: true, 493 fullScreenGestureEnabled: true, ··· 509 return ( 510 <MyProfileTab.Navigator 511 screenOptions={{ 512 animationDuration: 285, 513 gestureEnabled: true, 514 fullScreenGestureEnabled: true, ··· 534 return ( 535 <MessagesTab.Navigator 536 screenOptions={{ 537 animationDuration: 285, 538 gestureEnabled: true, 539 fullScreenGestureEnabled: true, ··· 567 <Flat.Navigator 568 screenListeners={screenListeners} 569 screenOptions={{ 570 animationDuration: 285, 571 gestureEnabled: true, 572 fullScreenGestureEnabled: true,