MCPcopy
hub / github.com/darkreader/darkreader / loadInversionFixes

Method loadInversionFixes

src/background/config-manager.ts:152–161  ·  view source on GitHub ↗
({local}: LocalConfig)

Source from the content-addressed store, hash-verified

150 }
151
152 private static async loadInversionFixes({local}: LocalConfig) {
153 const fixes = await ConfigManager.loadConfig({
154 name: 'Inversion Fixes',
155 local,
156 localURL: CONFIG_URLs.inversionFixes.local,
157 remoteURL: CONFIG_URLs.inversionFixes.remote,
158 });
159 ConfigManager.raw.inversionFixes = fixes;
160 ConfigManager.handleInversionFixes();
161 }
162
163 private static async loadStaticThemes({local}: LocalConfig) {
164 const themes = await ConfigManager.loadConfig({

Callers 1

loadMethod · 0.80

Calls 2

handleInversionFixesMethod · 0.80
loadConfigMethod · 0.65

Tested by

no test coverage detected