From 614d6a722a87854eb6e999c64ca1ff9679a8cfc1 Mon Sep 17 00:00:00 2001 From: Ajay Date: Sun, 18 Sep 2022 03:24:09 -0400 Subject: [PATCH] don't show update notice when disabled --- src/content.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/content.ts b/src/content.ts index 8c431124..d472c23c 100644 --- a/src/content.ts +++ b/src/content.ts @@ -943,7 +943,8 @@ async function sponsorsLookup(keepOldSubmissions = true) { setupVideoMutationListener(); - const showChapterMessage = Config.config.payments.lastCheck !== 0 + const showChapterMessage = Config.config.showUpsells + && Config.config.payments.lastCheck !== 0 && !noRefreshFetchingChaptersAllowed() && Config.config.showChapterInfoMessage && Config.config.skipCount > 200