Skip to content

Commit

Permalink
fix: playlist grey page (#707)
Browse files Browse the repository at this point in the history
* chore: fill missing translations

* chore: vscode filenesting

* fix playlist grey page

---------

Co-authored-by: Kingkor Roy Tirtho <[email protected]>
  • Loading branch information
victj99 and KRTirtho authored Sep 10, 2023
1 parent e321743 commit 0df8d9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/services/queries/playlist.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
);
}

Expand Down

0 comments on commit 0df8d9c

Please sign in to comment.