mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-09 21:17:20 +03:00
Remove exclusive_accessCategoryAdded migration
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user