()
| 1343 | }; |
| 1344 | |
| 1345 | let _prefersColorSchemeDark = () => { |
| 1346 | try { |
| 1347 | return !!(window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches); |
| 1348 | } catch (e) { |
| 1349 | return false; |
| 1350 | } |
| 1351 | }; |
| 1352 | |
| 1353 | let _shouldUseAutoDarkTheme = () => { |
| 1354 | if (_isEnabledSetting(formatOptions.ALWAYS_DARK_MODE)) { |
no outgoing calls
no test coverage detected