Keep interface endpoint for legacy
This commit is contained in:
parent
964822cd94
commit
ccdea752ef
@ -195,7 +195,7 @@ const introSkipper = {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const config = await this.secureFetch("Intros/UserInterfaceConfiguration");
|
const config = await this.secureFetch("Intros/UserInterfaceConfiguration");
|
||||||
if (!config.SkipButtonEnabled) {
|
if (!config.SkipButtonVisible) {
|
||||||
this.d("Not adding button: not visible");
|
this.d("Not adding button: not visible");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -387,7 +387,7 @@ const introSkipper = {
|
|||||||
const isAutoSkipClient = new Set(config.ClientList.split(",")).has(
|
const isAutoSkipClient = new Set(config.ClientList.split(",")).has(
|
||||||
ApiClient.appName(),
|
ApiClient.appName(),
|
||||||
);
|
);
|
||||||
return isAutoSkip || (config.SkipButtonEnabled && isAutoSkipClient);
|
return isAutoSkip || (config.SkipButtonVisible && isAutoSkipClient);
|
||||||
},
|
},
|
||||||
async injectIntroSkipperOptions(actionSheet) {
|
async injectIntroSkipperOptions(actionSheet) {
|
||||||
if (!this.skipButton) return;
|
if (!this.skipButton) return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user