Hide Exposed Profile Info if Toggled
This commit is contained in:
parent
fa5633c501
commit
0b697b6547
1 changed files with 1 additions and 1 deletions
|
@ -605,7 +605,7 @@ const app = new Vue({
|
|||
// Set profile name
|
||||
this.chrome.userinfo = (await app.mk.api.v3.music(`/v1/me/social-profile`)).data.data[0]
|
||||
// check if this.chrome.userinfo.attributes.artwork exists
|
||||
if (this.chrome.userinfo.attributes.artwork) {
|
||||
if (this.chrome.userinfo.attributes.artwork && !this.chrome.hideUserInfo) {
|
||||
document.documentElement.style
|
||||
.setProperty('--cvar-userprofileimg', `url("${this.getMediaItemArtwork(this.chrome.userinfo.attributes.artwork.url)}")`);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue