mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-08 20:47:11 +03:00
add comment for highlight update
This commit is contained in:
@@ -358,6 +358,7 @@ function fetchConfig(): Promise<void> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function migrateOldFormats(config: SBConfig) {
|
function migrateOldFormats(config: SBConfig) {
|
||||||
|
// Should eventually move into defaults
|
||||||
if (!config["highlightCategoryAdded"] && !config.categorySelections.some((s) => s.name === "poi_highlight")) {
|
if (!config["highlightCategoryAdded"] && !config.categorySelections.some((s) => s.name === "poi_highlight")) {
|
||||||
config["highlightCategoryAdded"] = true;
|
config["highlightCategoryAdded"] = true;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user