FIX: playlist folder icon

This commit is contained in:
Julien Maille 2021-04-16 23:59:06 +02:00
parent 10d7f3feef
commit 43adc0acc1

View File

@ -1,6 +1,6 @@
// Hide popover message
document.getElementById("popover-container").style.height = 0;
document.documentElement.style.setProperty('--warning_message', ' ')
document.documentElement.style.setProperty('--warning_message', ' ');
let appHiddenList = [];
try {
@ -59,7 +59,7 @@ waitForElement([".LeftSidebar", ".LeftSidebar__section--rootlist .SidebarList__l
const button = item.getElementsByTagName("button")[0]
button.classList.add("Button", "Button--style-icon-background", "Button--folder");
item.setAttribute("data-tooltip", item.innerText);
replaceTextWithIcon(link.firstChild, 'collection');
replaceTextWithIcon(link.firstChild, 'spoticon-collection-24');
continue;
}