mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-13 16:05:18 +00:00
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:
parent
e3217436c9
commit
0df8d9cace
@ -188,7 +188,7 @@ class PlaylistQueries {
|
|||||||
) async {
|
) async {
|
||||||
if (playlistId == "user-liked-tracks") return <Track>[];
|
if (playlistId == "user-liked-tracks") return <Track>[];
|
||||||
return spotify.playlists.getTracksByPlaylistId(playlistId).all().then(
|
return spotify.playlists.getTracksByPlaylistId(playlistId).all().then(
|
||||||
(value) => value.toList(),
|
(value) => value.where((track) => track.id != null).toList(),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user