From 6d5c52eabf960f86f8a4abe1d9654f619b0fbb81 Mon Sep 17 00:00:00 2001 From: RemixDev Date: Sat, 5 Mar 2022 19:30:58 +0000 Subject: [PATCH] Fixed bitrate dropdown --- src/components/pages/Settings.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/pages/Settings.vue b/src/components/pages/Settings.vue index b9abb6f..4ee7afa 100644 --- a/src/components/pages/Settings.vue +++ b/src/components/pages/Settings.vue @@ -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 } }