Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Enable navigation animations on Android, decrease animation speed (#4207)

* bump and rm patch

* use the better settings

* fix types

* remove animation duration

* try it with full screen

* thanks mozz - use `ios` only on android

* maybe a little duration

* slightly faster duration

* Revert "fix types"

This reverts commit d15d4b7a9b59da6d45211bfc4b526c5701db83c6.

* Revert "bump and rm patch"

This reverts commit 571f85f9e5b7e1381ac9477db6e551dff65e80ce.

---------

Co-authored-by: Dan Abramov <dan.abramov@gmail.com>

authored by

Hailey
Dan Abramov
and committed by
GitHub
a60f9933 ff6a044f

+14 -13
+14 -13
src/Navigation.tsx
··· 353 353 return ( 354 354 <HomeTab.Navigator 355 355 screenOptions={{ 356 - animation: isAndroid ? 'none' : undefined, 356 + animation: isAndroid ? 'ios' : undefined, 357 + animationDuration: 285, 357 358 gestureEnabled: true, 358 359 fullScreenGestureEnabled: true, 359 360 headerShown: false, 360 - animationDuration: 250, 361 361 contentStyle: pal.view, 362 362 }}> 363 363 <HomeTab.Screen name="Home" getComponent={() => HomeScreen} /> ··· 371 371 return ( 372 372 <SearchTab.Navigator 373 373 screenOptions={{ 374 - animation: isAndroid ? 'none' : undefined, 374 + animation: isAndroid ? 'ios' : undefined, 375 + animationDuration: 285, 375 376 gestureEnabled: true, 376 377 fullScreenGestureEnabled: true, 377 378 headerShown: false, 378 - animationDuration: 250, 379 379 contentStyle: pal.view, 380 380 }}> 381 381 <SearchTab.Screen name="Search" getComponent={() => SearchScreen} /> ··· 389 389 return ( 390 390 <FeedsTab.Navigator 391 391 screenOptions={{ 392 - animation: isAndroid ? 'none' : undefined, 392 + animation: isAndroid ? 'ios' : undefined, 393 + animationDuration: 285, 393 394 gestureEnabled: true, 394 395 fullScreenGestureEnabled: true, 395 396 headerShown: false, 396 - animationDuration: 250, 397 397 contentStyle: pal.view, 398 398 }}> 399 399 <FeedsTab.Screen name="Feeds" getComponent={() => FeedsScreen} /> ··· 407 407 return ( 408 408 <NotificationsTab.Navigator 409 409 screenOptions={{ 410 - animation: isAndroid ? 'none' : undefined, 410 + animation: isAndroid ? 'ios' : undefined, 411 + animationDuration: 285, 411 412 gestureEnabled: true, 412 413 fullScreenGestureEnabled: true, 413 414 headerShown: false, 414 - animationDuration: 250, 415 415 contentStyle: pal.view, 416 416 }}> 417 417 <NotificationsTab.Screen ··· 429 429 return ( 430 430 <MyProfileTab.Navigator 431 431 screenOptions={{ 432 - animation: isAndroid ? 'none' : undefined, 432 + animation: isAndroid ? 'ios' : undefined, 433 + animationDuration: 285, 433 434 gestureEnabled: true, 434 435 fullScreenGestureEnabled: true, 435 436 headerShown: false, 436 - animationDuration: 250, 437 437 contentStyle: pal.view, 438 438 }}> 439 439 <MyProfileTab.Screen ··· 454 454 return ( 455 455 <MessagesTab.Navigator 456 456 screenOptions={{ 457 - animation: isAndroid ? 'none' : undefined, 457 + animation: isAndroid ? 'ios' : undefined, 458 + animationDuration: 285, 458 459 gestureEnabled: true, 459 460 fullScreenGestureEnabled: true, 460 461 headerShown: false, 461 - animationDuration: 250, 462 462 contentStyle: pal.view, 463 463 }}> 464 464 <MessagesTab.Screen ··· 488 488 <Flat.Navigator 489 489 screenListeners={screenListeners} 490 490 screenOptions={{ 491 + animation: isAndroid ? 'ios' : undefined, 492 + animationDuration: 285, 491 493 gestureEnabled: true, 492 494 fullScreenGestureEnabled: true, 493 495 headerShown: false, 494 - animationDuration: 250, 495 496 contentStyle: pal.view, 496 497 }}> 497 498 <Flat.Screen