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

Function setBadgeText

src/utils/syncHandler.ts:478–486  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

476}
477
478function setBadgeText(text: string) {
479 // @ts-ignore
480 if (api.type === 'userscript') return;
481 try {
482 chrome.action.setBadgeText({ text });
483 } catch (e) {
484 con.error(e);
485 }
486}

Callers 1

syncFunction · 0.70

Calls 1

errorMethod · 0.80

Tested by

no test coverage detected