Fixed bitrate dropdown

This commit is contained in:
RemixDev 2022-03-05 19:30:58 +00:00
parent 66569f6554
commit 6d5c52eabf
1 changed files with 3 additions and 3 deletions

View File

@ -1074,9 +1074,9 @@ export default {
canDownload(bitrate){
if (!this.user.id) return false
if (this.settings.feelingLucky) return true
if (this.userLicense == "Free" && bitrate == 1) return true
if (this.userLicense == "Premium" && bitrate == 3) return true
if (this.userLicense == "Hi-Fi" && bitrate == 9) return true
if (this.user.id && bitrate == 1) return true
if (this.user.can_stream_hq && bitrate == 3) return true
if (this.user.can_stream_lossless && bitrate == 9) return true
return false
}
}