diff --git a/src/config.ts b/src/config.ts index f63abc80..7f4e43df 100644 --- a/src/config.ts +++ b/src/config.ts @@ -167,15 +167,8 @@ function migrateOldSyncFormats(config: SBConfig) { chrome.storage.sync.remove("segmentTimes", () => config.unsubmittedSegments = unsubmittedSegments); } - if (!config["exclusive_accessCategoryAdded"] && !config.categorySelections.some((s) => s.name === "exclusive_access")) { - config["exclusive_accessCategoryAdded"] = true; - - config.categorySelections.push({ - name: "exclusive_access" as Category, - option: CategorySkipOption.ShowOverlay - }); - - config.categorySelections = config.categorySelections; + if (config["exclusive_accessCategoryAdded"] !== undefined) { + chrome.storage.sync.remove("exclusive_accessCategoryAdded"); } if (config["fillerUpdate"] !== undefined) {