From 1d4ad6e74446b250c4627e0f7790e5ff85171f3c Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sun, 13 Dec 2020 11:29:32 -0500 Subject: Fix storage stats update error during dictionary deletion (#1106) --- ext/bg/js/settings/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/bg/js/settings/main.js') diff --git a/ext/bg/js/settings/main.js b/ext/bg/js/settings/main.js index 635549f8..09df19e4 100644 --- a/ext/bg/js/settings/main.js +++ b/ext/bg/js/settings/main.js @@ -83,10 +83,10 @@ async function setupEnvironmentInfo() { const profileController = new ProfileController(settingsController, modalController); profileController.prepare(); - const dictionaryController = new DictionaryController(settingsController, modalController, storageController); + const dictionaryController = new DictionaryController(settingsController, modalController, storageController, null); dictionaryController.prepare(); - const dictionaryImportController = new DictionaryImportController(settingsController, modalController, storageController); + const dictionaryImportController = new DictionaryImportController(settingsController, modalController, storageController, null); dictionaryImportController.prepare(); const ankiController = new AnkiController(settingsController); -- cgit v1.2.3