mirror of
https://github.com/antebudimir/tempus.git
synced 2025-12-31 17:43:32 +00:00
Fix: limited number of songs to shuffle
This commit is contained in:
parent
c3b948808c
commit
1b8b8a95bf
1 changed files with 2 additions and 2 deletions
|
|
@ -152,8 +152,8 @@ public class SongListPageFragment extends Fragment {
|
|||
songListPageViewModel.getSongList(requireActivity()).observe(requireActivity(), songs -> {
|
||||
if (bind != null) {
|
||||
bind.songListShuffleImageView.setOnClickListener(v -> {
|
||||
Collections.shuffle(songs.subList(0, Math.min(25, songs.size())));
|
||||
MediaManager.startQueue(mediaBrowserListenableFuture, requireContext(), songs, 0);
|
||||
Collections.shuffle(songs);
|
||||
MediaManager.startQueue(mediaBrowserListenableFuture, requireContext(), songs.subList(0, Math.min(25, songs.size())), 0);
|
||||
activity.setBottomSheetInPeek(true);
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue