Skip to content

Commit 09f4eb2

Browse files
Use explicit fade transitions
1 parent bfec3c9 commit 09f4eb2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/src/main/kotlin/nl/ndat/tvlauncher/ui/screen/launcher/LauncherScreen.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
package nl.ndat.tvlauncher.ui.screen.launcher
22

3+
import androidx.compose.animation.fadeIn
4+
import androidx.compose.animation.fadeOut
35
import androidx.compose.foundation.layout.Box
46
import androidx.compose.foundation.layout.Column
57
import androidx.compose.foundation.layout.fillMaxSize
@@ -36,6 +38,8 @@ fun LauncherScreen() {
3638
NavHost(
3739
navController = LocalNavController.current,
3840
graph = LocalNavGraph.current,
41+
enterTransition = { fadeIn() },
42+
exitTransition = { fadeOut() }
3943
)
4044
}
4145
}

0 commit comments

Comments
 (0)