diff --git a/src/components/pages/Settings.vue b/src/components/pages/Settings.vue
index d77dc56..b9abb6f 100644
--- a/src/components/pages/Settings.vue
+++ b/src/components/pages/Settings.vue
@@ -462,9 +462,9 @@
@@ -1070,6 +1070,14 @@ export default {
this.settings = JSON.parse(JSON.stringify(this.defaultSettings))
toast(this.$t('settings.toasts.reset'), 'settings')
+ },
+ 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
+ return false
}
}
}