Skip to content

Commit

Permalink
chore: Opt page switch
Browse files Browse the repository at this point in the history
  • Loading branch information
YuKongA committed Jan 29, 2025
1 parent ab6c17c commit 7cd700a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/src/main/kotlin/statusbar/lyric/App.kt
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,18 @@ fun PortraitLayout(navController: NavHostController, currentStartDestination: Mu
slideOutHorizontally(
targetOffsetX = { -windowWidth / 5 },
animationSpec = tween(durationMillis = 500, easing = easing)
) + fadeOut(
animationSpec = tween(durationMillis = 500),
targetAlpha = 0.5f
)
},
popEnterTransition = {
slideInHorizontally(
initialOffsetX = { -windowWidth / 5 },
animationSpec = tween(durationMillis = 500, easing = easing)
) + fadeIn(
animationSpec = tween(durationMillis = 500),
initialAlpha = 0.5f
)
},
popExitTransition = {
Expand Down

0 comments on commit 7cd700a

Please sign in to comment.