mirror of
https://github.com/Myzel394/Alibi.git
synced 2025-06-19 07:15:25 +02:00
feat: Improve animation
This commit is contained in:
parent
f68baaf1bf
commit
1efb57d540
@ -1,5 +1,6 @@
|
|||||||
package app.myzel394.alibi.ui
|
package app.myzel394.alibi.ui
|
||||||
|
|
||||||
|
import androidx.compose.animation.core.AnimationSpec
|
||||||
import androidx.compose.animation.core.tween
|
import androidx.compose.animation.core.tween
|
||||||
import androidx.compose.animation.fadeIn
|
import androidx.compose.animation.fadeIn
|
||||||
import androidx.compose.animation.fadeOut
|
import androidx.compose.animation.fadeOut
|
||||||
@ -103,7 +104,7 @@ fun Navigation(
|
|||||||
exitTransition = {
|
exitTransition = {
|
||||||
slideOutHorizontally(
|
slideOutHorizontally(
|
||||||
targetOffsetX = { it -> it / 2 }
|
targetOffsetX = { it -> it / 2 }
|
||||||
) + fadeOut()
|
) + fadeOut(tween(150))
|
||||||
}
|
}
|
||||||
) {
|
) {
|
||||||
CustomRecordingNotificationsScreen(
|
CustomRecordingNotificationsScreen(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user