fix: playlist grey page (#707)

* chore: fill missing translations

* chore: vscode filenesting

* fix playlist grey page

---------

Co-authored-by: Kingkor Roy Tirtho <krtirtho@gmail.com>
This commit is contained in:
Victor Tinoco 2023-09-10 05:39:05 -05:00 committed by GitHub
parent e3217436c9
commit 0df8d9cace
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -188,7 +188,7 @@ class PlaylistQueries {
) async {
if (playlistId == "user-liked-tracks") return <Track>[];
return spotify.playlists.getTracksByPlaylistId(playlistId).all().then(
(value) => value.toList(),
(value) => value.where((track) => track.id != null).toList(),
);
}