Skip to content

Commit

Permalink
Fix multiselection behavior in playlist view
Browse files Browse the repository at this point in the history
Do not (permanently) cache all entries of a playlist when the user has
made a selection. Only the selected songs are downloaded. When nothing
is selected, it will still download the whole playlist.
  • Loading branch information
beefy committed Jan 22, 2024
1 parent 449a6dc commit 545d8ac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -849,7 +849,7 @@ protected void executeOnValid(RecursiveLoader onValid) {
@Override
protected void downloadBackground(final boolean save) {
List<Entry> songs = getSelectedEntries();
if(playlistId != null) {
if(songs.isEmpty() && playlistId != null) {
songs = entries;
}

Expand Down

0 comments on commit 545d8ac

Please sign in to comment.