fix(downloader): allow downloads for signed out users
For signed out users, the upgrade button will not exist, incorrectly passing the premium check.
This commit adds an additional check for signed out users to immediately mark them as non-premium users.
If we are to improve this, might as well go the extra mile.
To check if the user is signed in or not, you can simply do yt.config_.LOGGED_IN.
I haven't found an alternative for checking if the user is premium or not.
If we are to improve this, might as well go the extra mile.
To check if the user is signed in or not, you can simply do
yt.config_.LOGGED_IN. I haven't found an alternative for checking if the user is premium or not.
Thanks!
Thanks!