Remove filler update notice

This commit is contained in:
Ajay
2021-12-26 20:16:26 -05:00
parent 8ade66d7b3
commit c5b72a01a2
2 changed files with 3 additions and 22 deletions

View File

@@ -51,7 +51,6 @@ interface SBConfig {
locked: string
},
scrollToEditTimeUpdate: boolean,
fillerUpdate: boolean,
// What categories should be skipped
categorySelections: CategorySelection[],
@@ -203,7 +202,6 @@ const Config: SBObject = {
autoHideInfoButton: true,
autoSkipOnMusicVideos: false,
scrollToEditTimeUpdate: false, // false means the tooltip will be shown
fillerUpdate: false,
categorySelections: [{
name: "sponsor" as Category,
@@ -392,6 +390,9 @@ function fetchConfig(): Promise<void> {
}
function migrateOldFormats(config: SBConfig) {
if (config["fillerUpdate"] !== undefined) {
chrome.storage.sync.remove("fillerUpdate");
}
if (config["highlightCategoryAdded"] !== undefined) {
chrome.storage.sync.remove("highlightCategoryAdded");
}