Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
478
function
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
sync
Function · 0.70
Calls
1
error
Method · 0.80
Tested by
no test coverage detected