don't show update notice when disabled

This commit is contained in:
Ajay 2022-09-18 03:24:09 -04:00
parent 6d757857cb
commit 614d6a722a

View file

@ -943,7 +943,8 @@ async function sponsorsLookup(keepOldSubmissions = true) {
setupVideoMutationListener(); setupVideoMutationListener();
const showChapterMessage = Config.config.payments.lastCheck !== 0 const showChapterMessage = Config.config.showUpsells
&& Config.config.payments.lastCheck !== 0
&& !noRefreshFetchingChaptersAllowed() && !noRefreshFetchingChaptersAllowed()
&& Config.config.showChapterInfoMessage && Config.config.showChapterInfoMessage
&& Config.config.skipCount > 200 && Config.config.skipCount > 200