MCPcopy Create free account
hub / github.com/zxlie/FeHelper / turnLightAuto

Function turnLightAuto

apps/static/js/dark-mode.js:318–323  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

316
317 // 自动开关等
318 function turnLightAuto() {
319 if (isFirefox) return;
320
321 ensureAutoDarkModeWatcher({applyFilter: true});
322 syncAutoDarkModeFromStorage({applyFilter: true});
323 }
324
325 return {
326 getAutoDarkModeState,

Callers

nothing calls this directly

Calls 2

Tested by

no test coverage detected