From b28c72bc523d3c339f8a2e2b817ba6d1694a6e24 Mon Sep 17 00:00:00 2001 From: Ajay Date: Wed, 27 Nov 2024 13:55:13 -0500 Subject: Show only first segment category in upcoming notice --- src/content.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content.ts b/src/content.ts index 9fcf3381..fe6c4268 100644 --- a/src/content.ts +++ b/src/content.ts @@ -814,7 +814,7 @@ async function startSponsorSchedule(includeIntersectingSegments = false, current const autoSkip = shouldAutoSkip(skippingSegments[0]); if (currentUpcomingSchedule) clearTimeout(currentUpcomingSchedule); - currentUpcomingSchedule = setTimeout(createUpcomingNotice, timeUntilPopup, skippingSegments, popupTime, autoSkip); + currentUpcomingSchedule = setTimeout(createUpcomingNotice, timeUntilPopup, [skippingSegments[0]], popupTime, autoSkip); } } } -- cgit v1.2.3