various optimisations

This commit is contained in:
Core 2022-06-15 23:26:51 +01:00
parent 69c460ad03
commit bd330c1ec0
No known key found for this signature in database
GPG key ID: FE9BF1B547F8F3C6
6 changed files with 23 additions and 21 deletions

View file

@ -829,12 +829,6 @@ const app = new Vue({
MusicKit.getInstance().videoContainerElement = document.getElementById("apple-music-video-player")
ipcRenderer.on('lastfm:authenticated', (_e, session) => {
app.cfg.lastfm.username = session.username
app.cfg.lastfm.key = session.key
app.cfg.lastfm.enabled = true
})
ipcRenderer.on('setStoreValue', (e, key, value) => {
app.cfg[key] = value
})