update: missing app icons

This commit is contained in:
Khánh Nguyễn Xuân 2020-05-10 01:09:15 +10:00
parent 1040c799cf
commit 5251b224f3

View File

@ -78,6 +78,8 @@ waitForElement([".LeftSidebar", ".LeftSidebar__section--rootlist"], (queries) =>
case "collection:albums": return "album";
case "collection:artists": return "artist";
case "collection:podcasts": return "podcasts";
case "playlist:local-files": return "localfile";
case "stations": return "stations";
}})(item.href.replace("spotify:app:", ""));
item.firstChild.classList.add(`spoticon-${icon}-24`);