aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/config.ts19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/config.ts b/src/config.ts
index 7baf2999..5e25f774 100644
--- a/src/config.ts
+++ b/src/config.ts
@@ -379,25 +379,6 @@ function migrateOldFormats(config: SBConfig) {
}
}
- // Adding preview category
- if (!config["previewCategoryUpdate"]) {
- config["previewCategoryUpdate"] = true;
- for (const selection of config.categorySelections) {
- if (selection.name === "intro"
- && selection.option === CategorySkipOption.AutoSkip || selection.option === CategorySkipOption.ManualSkip) {
-
- // Add a default skip option for preview category
- config.categorySelections.push({
- name: "preview" as Category,
- option: CategorySkipOption.ManualSkip
- });
- // Ensure it gets updated
- config.categorySelections = config.categorySelections;
- break;
- }
- }
- }
-
if (config["disableAutoSkip"]) {
for (const selection of config.categorySelections) {
if (selection.name === "sponsor") {