added a switch for hiding user info to the settings page
and made a toggle func for it to apply the setting
This commit is contained in:
parent
9bad210c0c
commit
f275883728
1 changed files with 11 additions and 0 deletions
|
@ -103,6 +103,14 @@
|
|||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="md-option-line">
|
||||
<div class="md-option-segment">
|
||||
Show Personal Info
|
||||
</div>
|
||||
<div class="md-option-segment md-option-segment_auto">
|
||||
<input type="checkbox" v-model="app.cfg.visual.showuserinfo" v-on:change="toggleUserInfo" switch/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="md-option-header">
|
||||
<span>Lyrics</span>
|
||||
</div>
|
||||
|
@ -605,6 +613,9 @@
|
|||
},
|
||||
changeAudioQuality : function(){
|
||||
app.mk.bitrate = app.cfg.audio.quality
|
||||
},
|
||||
toggleUserInfo : function(){
|
||||
app.chrome.hideUserInfo = !app.cfg.visual.showuserinfo
|
||||
}
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue