Skip to content
This repository was archived by the owner on Aug 20, 2024. It is now read-only.

Commit 4a974fc

Browse files
committed
Fix bugs and add label with playlist color instead of using mosaics
1 parent 7e3778b commit 4a974fc

4 files changed

Lines changed: 65 additions & 17 deletions

File tree

dist/spicetify-playlist-labels.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/api.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export async function getPlaylistColor(imageUri) {
1313
fetchExtractedColors,
1414
{ uris: [imageUri] },
1515
);
16-
return data.data?.extractedColors?.[0]?.colorRaw?.hex;
16+
return data.data?.extractedColors?.[0];
1717
}
1818

1919
export async function removeTrackFromPlaylist(playlistUri, trackUri) {

0 commit comments

Comments
 (0)