瀏覽代碼

call upgradeConfig after resetting options

Gildas 7 年之前
父節點
當前提交
5b57bc8749
共有 1 個文件被更改,包括 1 次插入0 次删除
  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({});
 		}
 	};