Minor updates to clear off minor informational messages.
This commit is contained in:
@@ -21,7 +21,7 @@ public class Playlist
|
||||
|
||||
public void AddSongs(Song[] songs, int? index = null)
|
||||
{
|
||||
PlaylistSong[] playlistSongs = songs.Select(song => new PlaylistSong(song)).ToArray();
|
||||
PlaylistSong[] playlistSongs = [.. songs.Select(song => new PlaylistSong(song))];
|
||||
|
||||
AddSongs(playlistSongs, index);
|
||||
}
|
||||
@@ -84,7 +84,7 @@ public class Playlist
|
||||
.OrderBy(Songs.IndexOf)
|
||||
.ToDictionary(Songs.IndexOf, playlistSong => playlistSong);
|
||||
|
||||
Song[] songs = playlistSongs.Select(playlistSong => playlistSong.Song).ToArray();
|
||||
Song[] songs = [.. playlistSongs.Select(playlistSong => playlistSong.Song)];
|
||||
Song[] sortedSongs = [.. songs.SortBy(sortOptions)];
|
||||
|
||||
int currentSortIndex = 0;
|
||||
|
||||
Reference in New Issue
Block a user