()
| 851 | } |
| 852 | |
| 853 | function updateStyle() { |
| 854 | style.innerHTML = |
| 855 | styleBase + |
| 856 | styleChoices[CONFIG.vertical ? 1 : 0] + |
| 857 | (checkLyricsPlus() && CONFIG.lyricsPlus ? lyricsPlusBase + lyricsPlusStyleChoices[CONFIG.vertical ? 1 : 0] : ""); |
| 858 | } |
| 859 | |
| 860 | function checkLyricsPlus() { |
| 861 | return Spicetify.Config?.custom_apps?.includes("lyrics-plus") || !!document.querySelector("a[href='/lyrics-plus']"); |
no test coverage detected