From 93ebb7654ce96eb5d3eb8f57c5e49baf0c44b80b Mon Sep 17 00:00:00 2001 From: petaded Date: Sun, 18 Jun 2023 12:01:13 +0100 Subject: [PATCH] Fix hide premiere --- .../ft-list-lazy-wrapper/ft-list-lazy-wrapper.js | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/renderer/components/ft-list-lazy-wrapper/ft-list-lazy-wrapper.js b/src/renderer/components/ft-list-lazy-wrapper/ft-list-lazy-wrapper.js index 9d84ea25b0018..bd08aaf5ca959 100644 --- a/src/renderer/components/ft-list-lazy-wrapper/ft-list-lazy-wrapper.js +++ b/src/renderer/components/ft-list-lazy-wrapper/ft-list-lazy-wrapper.js @@ -64,14 +64,7 @@ export default defineComponent({ // hide livestreams return false } - - if (this.hideUpcomingPremieres && - // Observed for premieres in Local API Channels. - (data.durationText === 'PREMIERE' || - // viewCount is our only method of detecting premieres in RSS - // data without sending an additional request. - // If we ever get a better flag, use it here instead. - (data.isRSS && data.viewCount === '0'))) { + if (this.hideUpcomingPremieres && data.premiereDate != null) { // hide upcoming return false }