1
0
mirror of https://github.com/TeamPiped/Piped.git synced 2024-12-13 22:00:28 +05:30

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) {
if (!this.getPreferenceBoolean("dearrow", false)) return {};
return this.fetchJson(this.apiUrl() + "/dearrow", {
videoIds: videoIds.join(","),
});