patch cider connect renderer issues

This commit is contained in:
Core 2022-06-15 22:27:27 +01:00
parent 3e3c38a25f
commit 69c460ad03
No known key found for this signature in database
GPG key ID: FE9BF1B547F8F3C6
2 changed files with 5 additions and 2 deletions

View file

@ -835,6 +835,10 @@ const app = new Vue({
app.cfg.lastfm.enabled = true
})
ipcRenderer.on('setStoreValue', (e, key, value) => {
app.cfg[key] = value
})
ipcRenderer.on('theme-update', async (event, arg) => {
await less.refresh(true, true, true)
self.setTheme(self.cfg.visual.theme, true)