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 {
|
var isRenaming by rememberSaveable {
|
||||||
@@ -157,6 +157,7 @@ fun LocalPlaylistScreen(playlistId: Long) {
|
|||||||
.fillMaxSize()
|
.fillMaxSize()
|
||||||
) {
|
) {
|
||||||
item {
|
item {
|
||||||
|
Column {
|
||||||
TopAppBar(
|
TopAppBar(
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
.height(52.dp)
|
.height(52.dp)
|
||||||
@@ -171,9 +172,7 @@ fun LocalPlaylistScreen(playlistId: Long) {
|
|||||||
.size(24.dp)
|
.size(24.dp)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
item {
|
|
||||||
Column(
|
Column(
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
.padding(top = 16.dp, bottom = 8.dp)
|
.padding(top = 16.dp, bottom = 8.dp)
|
||||||
@@ -189,9 +188,7 @@ fun LocalPlaylistScreen(playlistId: Long) {
|
|||||||
style = typography.xxs.semiBold.secondary
|
style = typography.xxs.semiBold.secondary
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
item {
|
|
||||||
Row(
|
Row(
|
||||||
verticalAlignment = Alignment.CenterVertically,
|
verticalAlignment = Alignment.CenterVertically,
|
||||||
horizontalArrangement = Arrangement.End,
|
horizontalArrangement = Arrangement.End,
|
||||||
@@ -264,6 +261,7 @@ fun LocalPlaylistScreen(playlistId: Long) {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
itemsIndexed(
|
itemsIndexed(
|
||||||
items = playlistWithSongs.songs,
|
items = playlistWithSongs.songs,
|
||||||
|
|||||||
Reference in New Issue
Block a user