feat: Improve animation

This commit is contained in:
Myzel394 2023-10-24 11:40:04 +02:00
parent f68baaf1bf
commit 1efb57d540
No known key found for this signature in database
GPG Key ID: 50098FCA22080F0F

View File

@ -1,5 +1,6 @@
package app.myzel394.alibi.ui
import androidx.compose.animation.core.AnimationSpec
import androidx.compose.animation.core.tween
import androidx.compose.animation.fadeIn
import androidx.compose.animation.fadeOut
@ -103,7 +104,7 @@ fun Navigation(
exitTransition = {
slideOutHorizontally(
targetOffsetX = { it -> it / 2 }
) + fadeOut()
) + fadeOut(tween(150))
}
) {
CustomRecordingNotificationsScreen(