Add animateItemPlacement to built-in playlists

This commit is contained in:
vfsfitvnm 2022-08-16 11:44:20 +02:00
parent 56d0274694
commit 2a27701b18

View file

@ -381,6 +381,7 @@ fun HomeScreen() {
colorTint = colorPalette.red, colorTint = colorPalette.red,
name = "Favorites", name = "Favorites",
modifier = Modifier modifier = Modifier
.animateItemPlacement()
.padding(all = 8.dp) .padding(all = 8.dp)
.clickable( .clickable(
indication = rememberRipple(bounded = true), indication = rememberRipple(bounded = true),
@ -396,6 +397,7 @@ fun HomeScreen() {
colorTint = colorPalette.blue, colorTint = colorPalette.blue,
name = "Offline", name = "Offline",
modifier = Modifier modifier = Modifier
.animateItemPlacement()
.padding(all = 8.dp) .padding(all = 8.dp)
.clickable( .clickable(
indication = rememberRipple(bounded = true), indication = rememberRipple(bounded = true),