Delegate queue migration

This commit is contained in:
wvffle 2022-10-31 21:36:23 +00:00 committed by Jacek Pruciak
parent e4759d14c9
commit ece2c468ca
1 changed files with 16 additions and 16 deletions

View File

@ -308,7 +308,6 @@ export const useQueue = createGlobalState(() => {
return store.dispatch('radios/stop') return store.dispatch('radios/stop')
} }
}) })
}
// TODO: Remove at 1.5.0 // TODO: Remove at 1.5.0
// Migrate old queue format to the new one // Migrate old queue format to the new one
@ -328,6 +327,7 @@ export const useQueue = createGlobalState(() => {
delete localStorage.player delete localStorage.player
})().catch((error) => console.error('Could not successfully migrate between queue versions', error)) })().catch((error) => console.error('Could not successfully migrate between queue versions', error))
} }
}
return { return {
tracks, tracks,