From c499198ad3a44fd51db3917402a04a60fa72c0ab Mon Sep 17 00:00:00 2001 From: Ajay Date: Thu, 18 Sep 2025 03:35:48 -0400 Subject: [PATCH] Add indicator for non channel skip profiles --- public/_locales | 2 +- src/popup/PopupComponent.tsx | 10 +++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/public/_locales b/public/_locales index 4cd536fa..f7d56522 160000 --- a/public/_locales +++ b/public/_locales @@ -1 +1 @@ -Subproject commit 4cd536fa4a2efa7ee19f22268df800c3a80ea2b8 +Subproject commit f7d565226ebfd457f866311a714ad8fdace8e37e diff --git a/src/popup/PopupComponent.tsx b/src/popup/PopupComponent.tsx index 68907b8c..a9d1fb49 100644 --- a/src/popup/PopupComponent.tsx +++ b/src/popup/PopupComponent.tsx @@ -448,7 +448,8 @@ window.addEventListener("message", async (e): Promise => { function SkipProfileButton(props: {videoID: string; setShowForceChannelCheckWarning: (v: boolean) => void}): JSX.Element { const [menuOpen, setMenuOpen] = React.useState(false); - const skipProfileSet = getSkipProfileIDForChannel() !== null; + const channelSkipProfileSet = getSkipProfileIDForChannel() !== null; + const skipProfileSet = getSkipProfileID() !== null; React.useEffect(() => { setMenuOpen(false); @@ -471,12 +472,15 @@ function SkipProfileButton(props: {videoID: string; setShowForceChannelCheckWarn - + {chrome.i18n.getMessage("addChannelToSkipProfile")} - + {chrome.i18n.getMessage("editChannelsSkipProfile")} + + {chrome.i18n.getMessage("editActiveSkipProfile")} + {chrome.i18n.getMessage("closeSkipProfileMenu")}