defaulted hide user settings to false
developer check is moved to if(is.Dev) portion
This commit is contained in:
parent
9b7cc4d028
commit
e8446f8d92
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue