defaulted hide user settings to false
developer check is moved to if(is.Dev) portion
This commit is contained in:
parent
64914fb3e5
commit
9eb8e68bba
1 changed files with 3 additions and 1 deletions
|
@ -257,7 +257,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": "",
|
||||||
|
@ -496,6 +496,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