Skip to content

Commit

Permalink
feat(queue): play next in multi-selection menu
Browse files Browse the repository at this point in the history
  • Loading branch information
z-huang committed Aug 30, 2024
1 parent ee9ecc5 commit 5256c89
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,15 @@ fun QueueSelectionMenu(
onExitSelectionMode()
}

GridMenuItem(
icon = R.drawable.playlist_play,
title = R.string.play_next,
) {
onDismiss()
playerConnection.playNext(selection.map { it.mediaItem })
onExitSelectionMode()
}

GridMenuItem(
icon = R.drawable.queue_music,
title = R.string.add_to_queue,
Expand Down

0 comments on commit 5256c89

Please sign in to comment.