Fix genre retrieval and filtering

This commit is contained in:
CappielloAntonio 2021-07-31 18:43:40 +02:00
parent 37e45e7957
commit fd4250b6f7
11 changed files with 139 additions and 73 deletions

View file

@ -125,16 +125,6 @@ public class SongListPageFragment extends Fragment {
private void initButtons() {
songListPageViewModel.getSongList().observe(requireActivity(), songs -> {
if(bind != null) {
bind.songListPlayImageView.setOnClickListener(v -> {
QueueRepository queueRepository = new QueueRepository(App.getInstance());
queueRepository.insertAllAndStartNew(songs);
activity.isBottomSheetInPeek(true);
activity.setBottomSheetMusicInfo(songs.get(0));
MusicPlayerRemote.openQueue(songs, 0, true);
});
bind.songListShuffleImageView.setOnClickListener(v -> {
Collections.shuffle(songs);