From ccdea752ef76c22aebe54f415e68f99b68311212 Mon Sep 17 00:00:00 2001 From: TwistedUmbrellaX Date: Sun, 27 Oct 2024 05:29:43 -0400 Subject: [PATCH] Keep interface endpoint for legacy --- IntroSkipper/Configuration/inject.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/IntroSkipper/Configuration/inject.js b/IntroSkipper/Configuration/inject.js index 292e02f..d59f110 100644 --- a/IntroSkipper/Configuration/inject.js +++ b/IntroSkipper/Configuration/inject.js @@ -195,7 +195,7 @@ const introSkipper = { return; } const config = await this.secureFetch("Intros/UserInterfaceConfiguration"); - if (!config.SkipButtonEnabled) { + if (!config.SkipButtonVisible) { this.d("Not adding button: not visible"); return; } @@ -387,7 +387,7 @@ const introSkipper = { const isAutoSkipClient = new Set(config.ClientList.split(",")).has( ApiClient.appName(), ); - return isAutoSkip || (config.SkipButtonEnabled && isAutoSkipClient); + return isAutoSkip || (config.SkipButtonVisible && isAutoSkipClient); }, async injectIntroSkipperOptions(actionSheet) { if (!this.skipButton) return;