(onChange: () => void)
| 97 | private static store: DevToolsStorage; |
| 98 | |
| 99 | static async init(onChange: () => void): Promise<void> { |
| 100 | if (typeof chrome.storage.local !== 'undefined' && chrome.storage.local !== null) { |
| 101 | DevTools.store = new PersistentStorageWrapper(); |
| 102 | } else { |
| 103 | DevTools.store = new TempStorage(); |
| 104 | } |
| 105 | DevTools.onChange = onChange; |
| 106 | await DevTools.loadConfigOverrides(); |
| 107 | } |
| 108 | |
| 109 | private static KEY_DETECTOR = 'dev_detector_hints'; |
| 110 | private static KEY_DYNAMIC = 'dev_dynamic_theme_fixes'; |
nothing calls this directly
no test coverage detected