Fix minor animation issue with ReorderingLazyColumn

This commit is contained in:
vfsfitvnm
2022-09-05 12:33:12 +02:00
parent 105565afec
commit cb3bc17a29

View File

@@ -112,7 +112,7 @@ fun LocalPlaylistScreen(playlistId: Long) {
)
}
},
extraItemCount = 3
extraItemCount = 1
)
var isRenaming by rememberSaveable {
@@ -157,6 +157,7 @@ fun LocalPlaylistScreen(playlistId: Long) {
.fillMaxSize()
) {
item {
Column {
TopAppBar(
modifier = Modifier
.height(52.dp)
@@ -171,9 +172,7 @@ fun LocalPlaylistScreen(playlistId: Long) {
.size(24.dp)
)
}
}
item {
Column(
modifier = Modifier
.padding(top = 16.dp, bottom = 8.dp)
@@ -189,9 +188,7 @@ fun LocalPlaylistScreen(playlistId: Long) {
style = typography.xxs.semiBold.secondary
)
}
}
item {
Row(
verticalAlignment = Alignment.CenterVertically,
horizontalArrangement = Arrangement.End,
@@ -264,6 +261,7 @@ fun LocalPlaylistScreen(playlistId: Long) {
)
}
}
}
itemsIndexed(
items = playlistWithSongs.songs,