mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-05 03:21:39 +00:00
Fix genre retrieval and filtering
This commit is contained in:
parent
37e45e7957
commit
fd4250b6f7
11 changed files with 139 additions and 73 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue