MCPcopy Create free account
hub / github.com/error311/FileRise / handler

Function handler

public/js/main.js:925–925  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

923 if (stored === null && window.matchMedia) {
924 const mq = window.matchMedia('(prefers-color-scheme: dark)');
925 const handler = () => applyDarkMode({ fromSystemChange: true });
926 try { mq.addEventListener('change', handler); } catch (e) { mq.addListener(handler); }
927 }
928 }

Callers 1

bindFolderToolbarActionsFunction · 0.70

Calls 1

applyDarkModeFunction · 0.85

Tested by

no test coverage detected