Skip to content

Commit

Permalink
Fix: Shuffle recommendations for default algorithm
Browse files Browse the repository at this point in the history
  • Loading branch information
gokadzev committed Jun 1, 2024
1 parent dc971c5 commit 8c8df44
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/API/musify.dart
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ Future<List> getRecommendedSongs() async {
playlistSongs
.addAll(relatedSongs.take(3).map((s) => returnSongLayout(0, s)));
}
playlistSongs.shuffle();
return playlistSongs;
} else {
final playlistSongs = [...userLikedSongsList, ...userRecentlyPlayed];
Expand Down

0 comments on commit 8c8df44

Please sign in to comment.