Fix minor animation issue with ReorderingLazyColumn
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user