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:
Onur Gümüş 2022-01-20 04:48:01 +03:00
parent 9bad210c0c
commit f275883728

View file

@ -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
}
}
})