MCPcopy Create free account
hub / github.com/spicetify/cli / updateStyle

Function updateStyle

Extensions/fullAppDisplay.js:853–858  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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']");

Callers 2

fullAppDisplay.jsFile · 0.85
componentDidMountMethod · 0.85

Calls 1

checkLyricsPlusFunction · 0.85

Tested by

no test coverage detected