Rework song UI

This commit is contained in:
vfsfitvnm
2022-07-06 22:56:02 +02:00
parent 2f46d44ed1
commit 749e995d42
5 changed files with 72 additions and 28 deletions

View File

@@ -276,6 +276,17 @@ fun LocalPlaylistScreen(
song = song
)
},
trailingContent = {
Image(
painter = painterResource(R.drawable.reorder),
contentDescription = null,
colorFilter = ColorFilter.tint(colorPalette.textSecondary),
modifier = Modifier
.clickable {}
.padding(horizontal = 8.dp, vertical = 4.dp)
.size(20.dp)
)
},
modifier = Modifier
.verticalDragAfterLongPressToReorder(
reorderingState = reorderingState,