()
| 316 | |
| 317 | // 自动开关等 |
| 318 | function turnLightAuto() { |
| 319 | if (isFirefox) return; |
| 320 | |
| 321 | ensureAutoDarkModeWatcher({applyFilter: true}); |
| 322 | syncAutoDarkModeFromStorage({applyFilter: true}); |
| 323 | } |
| 324 | |
| 325 | return { |
| 326 | getAutoDarkModeState, |
nothing calls this directly
no test coverage detected