Added the function for toggling hide user info from the drop menu
this is for syncing the bottom left drop menu with settings page
This commit is contained in:
parent
9eb8e68bba
commit
ac354a07ab
1 changed files with 9 additions and 0 deletions
|
@ -3247,6 +3247,15 @@ const app = new Vue({
|
|||
return 0 !== s && (h = s > 0 ? "-" : "+"),
|
||||
`${h}${leadingZeros(n, 2)}:${leadingZeros(d, 2)}`
|
||||
},
|
||||
toggleHideUserInfo() {
|
||||
if(this.chrome.hideUserInfo) {
|
||||
this.cfg.visual.showuserinfo = true
|
||||
this.chrome.hideUserInfo = false
|
||||
} else {
|
||||
this.cfg.visual.showuserinfo = false
|
||||
this.chrome.hideUserInfo = true
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue