MCPcopy Create free account
hub / github.com/gotify/server / toggleVisibility

Function toggleVisibility

ui/src/common/CopyableSecret.tsx:18–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16 const text = visible ? value : '•••••••••••••••';
17 const {snackManager} = useStores();
18 const toggleVisibility = () => setVisible((b) => !b);
19 const copyToClipboard = async () => {
20 try {
21 await navigator.clipboard.writeText(value);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…