diff --git a/manifest/manifest.json b/manifest/manifest.json index a32f4cb7..0d399d64 100644 --- a/manifest/manifest.json +++ b/manifest/manifest.json @@ -27,7 +27,8 @@ "icons/PlayerStartIconSponsorBlocker256px.png", "icons/PlayerStopIconSponsorBlocker256px.png", "icons/PlayerUploadIconSponsorBlocker256px.png", - "icons/PlayerUploadFailedIconSponsorBlocker256px.png", + "icons/PlayerUploadFailedIconSponsorBlocker.svg", + "icons/PlayerCancelSegmentIconSponsorBlocker.svg", "icons/settings.svg", "icons/pencil.svg", "icons/check.svg", diff --git a/public/icons/PlayerCancelSegmentIconSponsorBlocker.svg b/public/icons/PlayerCancelSegmentIconSponsorBlocker.svg new file mode 100644 index 00000000..6b48b6d0 --- /dev/null +++ b/public/icons/PlayerCancelSegmentIconSponsorBlocker.svg @@ -0,0 +1,67 @@ + + + + + + image/svg+xml + + LogoSponsorBlocker2 + + + + + + + + LogoSponsorBlocker2 + + + diff --git a/public/icons/PlayerUploadFailedIconSponsorBlocker.svg b/public/icons/PlayerUploadFailedIconSponsorBlocker.svg new file mode 100644 index 00000000..b40cca8d --- /dev/null +++ b/public/icons/PlayerUploadFailedIconSponsorBlocker.svg @@ -0,0 +1,71 @@ + + + + + + image/svg+xml + + LogoSponsorBlocker2 + + + + + + + + LogoSponsorBlocker2 + + + + diff --git a/public/icons/PlayerUploadFailedIconSponsorBlocker256px.png b/public/icons/PlayerUploadFailedIconSponsorBlocker256px.png deleted file mode 100644 index 57c80838..00000000 Binary files a/public/icons/PlayerUploadFailedIconSponsorBlocker256px.png and /dev/null differ diff --git a/src/content.ts b/src/content.ts index 2abfdecf..caa0c728 100644 --- a/src/content.ts +++ b/src/content.ts @@ -1104,7 +1104,7 @@ async function createButtons(): Promise { // Add button if does not already exist in html createButton("startSponsor", "sponsorStart", () => closeInfoMenuAnd(() => startOrEndTimingNewSegment()), "PlayerStartIconSponsorBlocker256px.png"); - createButton("cancelSponsor", "sponsorCancel", () => closeInfoMenuAnd(() => cancelCreatingSegment()), "PlayerUploadFailedIconSponsorBlocker256px.png"); + createButton("cancelSponsor", "sponsorCancel", () => closeInfoMenuAnd(() => cancelCreatingSegment()), "PlayerCancelSegmentIconSponsorBlocker.svg"); createButton("info", "openPopup", openInfoMenu, "PlayerInfoIconSponsorBlocker256px.png"); createButton("delete", "clearTimes", () => closeInfoMenuAnd(() => clearSponsorTimes()), "PlayerDeleteIconSponsorBlocker256px.png"); createButton("submit", "SubmitTimes", submitSponsorTimes, "PlayerUploadIconSponsorBlocker256px.png"); @@ -1520,7 +1520,7 @@ async function sendSubmitMessage() { } else { // Show that the upload failed playerButtons.submit.button.style.animation = "unset"; - playerButtons.submit.image.src = chrome.extension.getURL("icons/PlayerUploadFailedIconSponsorBlocker256px.png"); + playerButtons.submit.image.src = chrome.extension.getURL("icons/PlayerUploadFailedIconSponsorBlocker.svg"); alert(utils.getErrorMessage(response.status, response.responseText)); }