MCPcopy Index your code
hub / github.com/MALSync/MALSync / setBadgeText

Function setBadgeText

src/background/releaseProgress.ts:212–220  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

210}
211
212function setBadgeText(text: string) {
213 // @ts-ignore
214 if (api.type === 'userscript') return;
215 try {
216 chrome.action.setBadgeText({ text });
217 } catch (e) {
218 con.error(e);
219 }
220}

Callers 1

mainFunction · 0.70

Calls 1

errorMethod · 0.80

Tested by

no test coverage detected