Moved volume to audio.volume

This commit is contained in:
Core 2022-01-10 23:27:08 +00:00
parent f87f4ec5e5
commit 88a4fcd380
No known key found for this signature in database
GPG key ID: 1B77805746C47C28
2 changed files with 5 additions and 5 deletions

View file

@ -449,8 +449,8 @@ const app = new Vue({
}
MusicKitInterop.init()
// Set the volume
this.mk.volume = this.cfg.general.volume
// ipcRenderer.invoke('getStoreValue', 'general.volume').then((value) => {
this.mk.volume = this.cfg.audio.volume
// ipcRenderer.invoke('getStoreValue', 'audio.volume').then((value) => {
// self.mk.volume = value
// })
@ -618,7 +618,7 @@ const app = new Vue({
this.mk.addEventListener(MusicKit.Events.playbackVolumeDidChange, (_a) => {
this.cfg.general.volume = this.mk.volume
this.cfg.audio.volume = this.mk.volume
})
this.refreshPlaylists()