diff options
author | Ajay Ramachandran <[email protected]> | 2020-07-02 21:13:07 -0400 |
---|---|---|
committer | Ajay Ramachandran <[email protected]> | 2020-07-02 21:13:07 -0400 |
commit | 955ee32b462a185ceb181c9b4c048d49ddb09246 (patch) | |
tree | 12b18e3a41962fe01ed8aaccdf5a46e84683f2ba /src/components/SkipNoticeComponent.tsx | |
parent | cd0b1f4a31271eb0b020d80c30a26068801aecd5 (diff) | |
download | SponsorBlock-955ee32b462a185ceb181c9b4c048d49ddb09246.tar.gz SponsorBlock-955ee32b462a185ceb181c9b4c048d49ddb09246.zip |
Remove category update message
Diffstat (limited to 'src/components/SkipNoticeComponent.tsx')
-rw-r--r-- | src/components/SkipNoticeComponent.tsx | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/components/SkipNoticeComponent.tsx b/src/components/SkipNoticeComponent.tsx index 022490d0..9dab754b 100644 --- a/src/components/SkipNoticeComponent.tsx +++ b/src/components/SkipNoticeComponent.tsx @@ -134,13 +134,6 @@ class SkipNoticeComponent extends React.Component<SkipNoticeProps, SkipNoticeSta this.audio.volume = this.contentContainer().v.volume * 0.1; this.audio.play(); } - - if (Config.config.categoryUpdateShowCount < 3 && Config.config.categorySelections.length <= 1) { - this.setNoticeInfoMessageWithOnClick(() => chrome.runtime.sendMessage({"message": "openConfig"}) - , chrome.i18n.getMessage("categoryUpdate1"), chrome.i18n.getMessage("categoryUpdate2")); - - Config.config.categoryUpdateShowCount = Config.config.categoryUpdateShowCount + 1 - } } render() { |