Adjust settings page transitions

This commit is contained in:
MM20 2024-06-29 23:02:18 +02:00
parent 0c85d6d90b
commit c2af63a828
No known key found for this signature in database
GPG Key ID: 0B61A8F2DEAFA389

View File

@ -106,16 +106,16 @@ class SettingsActivity : BaseActivity() {
navController = navController, navController = navController,
startDestination = "settings", startDestination = "settings",
exitTransition = { exitTransition = {
slideOutHorizontally { it / 2 } + fadeOut() slideOutHorizontally { it / 4 }
}, },
enterTransition = { enterTransition = {
slideInHorizontally { it / 2 } + scaleIn(initialScale = 0.95f) slideInHorizontally { it / 2 } + scaleIn(initialScale = 0.9f) + fadeIn()
}, },
popEnterTransition = { popEnterTransition = {
slideInHorizontally { -it / 2 } + fadeIn() slideInHorizontally { -it / 4 }
}, },
popExitTransition = { popExitTransition = {
slideOutHorizontally { it / 2 } + scaleOut(targetScale = 0.95f) slideOutHorizontally { it / 2 } + scaleOut(targetScale = 0.9f) + fadeOut()
}, },
) { ) {
composable("settings") { composable("settings") {