Skip to content

Commit 0f2f108

Browse files
committed
Fix multiselection behavior in playlist view
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.
1 parent 449a6dc commit 0f2f108

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -849,7 +849,7 @@ protected void executeOnValid(RecursiveLoader onValid) {
849849
@Override
850850
protected void downloadBackground(final boolean save) {
851851
List<Entry> songs = getSelectedEntries();
852-
if(playlistId != null) {
852+
if(songs.isEmpty() && playlistId != null) {
853853
songs = entries;
854854
}
855855

0 commit comments

Comments
 (0)