Tweak menu UI

This commit is contained in:
vfsfitvnm
2022-07-08 21:49:05 +02:00
parent 81c7edee24
commit cb29edc3b8
3 changed files with 14 additions and 11 deletions

View File

@@ -119,7 +119,7 @@ fun BuiltInPlaylistScreen(
MenuEntry(
icon = R.drawable.time,
text = "Enqueue",
enabled = songs.isNotEmpty(),
isEnabled = songs.isNotEmpty(),
onClick = {
menuState.hide()
binder?.player?.enqueue(songs.map(DetailedSong::asMediaItem))

View File

@@ -153,7 +153,7 @@ fun LocalPlaylistScreen(
MenuEntry(
icon = R.drawable.time,
text = "Enqueue",
enabled = playlistWithSongs.songs.isNotEmpty(),
isEnabled = playlistWithSongs.songs.isNotEmpty(),
onClick = {
menuState.hide()
binder?.player?.enqueue(playlistWithSongs.songs.map(DetailedSong::asMediaItem))