fix: respect preference for dearrow

This commit is contained in:
Bnyro 2023-07-20 10:23:45 +02:00
parent 6378b3dc4b
commit f47d6140ce

View File

@ -543,6 +543,7 @@ const mixin = {
} }
}, },
fetchDeArrowContent(videoIds) { fetchDeArrowContent(videoIds) {
if (!this.getPreferenceBoolean("dearrow", false)) return {};
return this.fetchJson(this.apiUrl() + "/dearrow", { return this.fetchJson(this.apiUrl() + "/dearrow", {
videoIds: videoIds.join(","), videoIds: videoIds.join(","),
}); });