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-19 23:43:17 +03:00
parent 9b7cc4d028
commit e8446f8d92

View file

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