From 87c4758089af5d29ac4bf07134742f8d375c3656 Mon Sep 17 00:00:00 2001 From: Ajay Date: Wed, 2 Jul 2025 21:04:02 -0400 Subject: [PATCH] Fix upcoming notice being shown for disabled categories Fixes #2296 --- src/content.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/content.ts b/src/content.ts index fdfa9c3b..032bc884 100644 --- a/src/content.ts +++ b/src/content.ts @@ -816,6 +816,7 @@ async function startSponsorSchedule(includeIntersectingSegments = false, current if (Config.config.showUpcomingNotice && getCurrentTime() < skippingSegments[0].segment[0] && !sponsorTimesSubmitting?.some((segment) => segment.segment === currentSkip.segment) && [ActionType.Skip, ActionType.Mute].includes(skippingSegments[0].actionType) + && getCategorySelection(skippingSegments[0])?.option > CategorySkipOption.ShowOverlay && !getVideo()?.paused) { const maxPopupTime = 3000; const timeUntilPopup = Math.max(0, offsetDelayTime - maxPopupTime);