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