defaulted hide user settings to false

developer check is moved to if(is.Dev) portion
This commit is contained in:
Onur Gümüş 2022-01-20 04:44:50 +03:00
parent 64914fb3e5
commit 9eb8e68bba

View file

@ -257,7 +257,7 @@ const app = new Vue({
tmpVar: [],
notification: false,
chrome: {
hideUserInfo: ipcRenderer.sendSync("is-dev"),
hideUserInfo: false,
artworkReady: false,
userinfo: {
"id": "",
@ -496,6 +496,8 @@ const app = new Vue({
this.$forceUpdate()
if (this.isDev) {
this.mk.privateEnabled = true
// Hide UserInfo if Dev mode
this.chrome.hideUserInfo = true
} else {
// Get Hide User from Settings
this.chrome.hideUserInfo = !this.cfg.visual.showuserinfo