Add hiding skip to highlight

Fix #1530
This commit is contained in:
Ajay
2022-11-04 16:05:09 -04:00
parent 2c5db670a4
commit 1775835392
3 changed files with 12 additions and 1 deletions

View File

@@ -698,6 +698,7 @@ async function runThePopup(messageListener?: MessageListener): Promise<void> {
voteButtonsContainer.appendChild(downvoteButton);
voteButtonsContainer.appendChild(uuidButton);
if (downloadedTimes[i].actionType === ActionType.Skip || downloadedTimes[i].actionType === ActionType.Mute
|| downloadedTimes[i].actionType === ActionType.Poi
&& [SponsorHideType.Visible, SponsorHideType.Hidden].includes(downloadedTimes[i].hidden)) {
voteButtonsContainer.appendChild(hideButton);
}