MCPcopy
hub / github.com/CopyTranslator/CopyTranslator / notify

Method notify

src/renderer/controller.ts:56–62  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

54 }
55
56 notify(text: string) {
57 if (text.length > 0) {
58 new Notification(constants.appName + " " + version, {
59 body: text,
60 });
61 }
62 }
63
64 toast(text: string, force: boolean = false) {
65 if (force || config.get("toastTip")) {

Callers 1

handleMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected