Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cf079503 authored by Jordan Demeulenaere's avatar Jordan Demeulenaere
Browse files

Change default current scene of test transitions

This CL is a simple change of default value in test transitions: it
usually make more sense to default the current scene to toScene and not
to fromScene.

Bug: 353679003
Test: atest PlatformComposeSceneTransitionLayoutTests
Flag: EXEMPT test only
Change-Id: If5a43f75af9447a4920c8a46eb29900c631f83f3
parent 90e48229
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@ import kotlinx.coroutines.test.TestScope
fun transition(
    from: SceneKey,
    to: SceneKey,
    current: () -> SceneKey = { from },
    current: () -> SceneKey = { to },
    progress: () -> Float = { 0f },
    progressVelocity: () -> Float = { 0f },
    previewProgress: () -> Float = { 0f },