Merge pull request #36 from ThePBone/fix-filter

fix: filter array of songs in setItems (DownloadHorizontalAdapter)
This commit is contained in:
CappielloAntonio authored and GitHub committed 2023-08-14 18:10:49 +02:00
commit 761b07450f
1 file changed
+1 -1
@@ -261,7 +261,7 @@ public class DownloadHorizontalAdapter extends RecyclerView.Adapter<DownloadHori
switch (view) {
case Constants.DOWNLOAD_TYPE_TRACK:
bundle.putParcelableArrayList(Constants.TRACKS_OBJECT, new ArrayList<>(songs));
bundle.putParcelableArrayList(Constants.TRACKS_OBJECT, new ArrayList<>(grouped));
bundle.putInt(Constants.ITEM_POSITION, getBindingAdapterPosition());
click.onMediaClick(bundle);
break;