mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-12-14 06:10:28 +05:30
fix: respect preference for dearrow
This commit is contained in:
parent
6378b3dc4b
commit
f47d6140ce
@ -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(","),
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user