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

Function switchCallback

Extensions/popupLyrics.js:1027–1032  ·  view source on GitHub ↗
(el, state)

Source from the content-addressed store, hash-verified

1025 }
1026
1027 function switchCallback(el, state) {
1028 const id = el.dataset.id;
1029 userConfigs.services[id].on = state;
1030 LocalStorage.set(`popup-lyrics:services:${id}:on`, state);
1031 updateTrack(true);
1032 }
1033
1034 function posCallback(el, dir) {
1035 const id = el.dataset.id;

Callers 1

createServiceOptionFunction · 0.85

Calls 1

updateTrackFunction · 0.85

Tested by

no test coverage detected