Add animateItemPlacement to built-in playlists
This commit is contained in:
parent
56d0274694
commit
2a27701b18
|
@ -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),
|
||||||
|
|
Loading…
Reference in a new issue