Sfoglia il codice sorgente

call upgradeConfig after resetting options

Gildas 7 anni fa
parent
commit
5b57bc8749
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      extension/core/bg/config.js

+ 1 - 0
extension/core/bg/config.js

@@ -134,6 +134,7 @@ singlefile.config = (() => {
 		async reset() {
 			await pendingUpgradePromise;
 			await browser.storage.local.clear();
+			await upgradeConfig({});
 		}
 	};