Remove unnecessary change

This commit is contained in:
Ajay
2025-04-23 21:23:00 -04:00
parent 22da289151
commit be11012096

View File

@@ -1907,10 +1907,8 @@ function shouldAutoSkip(segment: SponsorTime): boolean {
} }
function shouldSkip(segment: SponsorTime): boolean { function shouldSkip(segment: SponsorTime): boolean {
if (segment.actionType === ActionType.Full) { return (segment.actionType !== ActionType.Full
return false; && segment.source !== SponsorSourceType.YouTube
}
return (segment.source !== SponsorSourceType.YouTube
&& utils.getCategorySelection(segment.category)?.option !== CategorySkipOption.ShowOverlay) && utils.getCategorySelection(segment.category)?.option !== CategorySkipOption.ShowOverlay)
|| (Config.config.autoSkipOnMusicVideos && sponsorTimes?.some((s) => s.category === "music_offtopic") || (Config.config.autoSkipOnMusicVideos && sponsorTimes?.some((s) => s.category === "music_offtopic")
&& segment.actionType === ActionType.Skip); && segment.actionType === ActionType.Skip);