Fix:Cover image for 1:1.6 covers in collapsed audio player #474

This commit is contained in:
advplyr 2023-01-08 13:50:18 -06:00
parent 83fdf4fd65
commit 34b3910ff8
2 changed files with 12 additions and 4 deletions

View file

@ -15,11 +15,11 @@ export const getters = {
return state.libraries.find(lib => lib.id === state.currentLibraryId)
},
getCurrentLibraryName: (state, getters) => {
var currLib = getters.getCurrentLibrary
const currLib = getters.getCurrentLibrary
return currLib ? currLib.name : null
},
getCurrentLibraryMediaType: (state, getters) => {
var currLib = getters.getCurrentLibrary
const currLib = getters.getCurrentLibrary
return currLib ? currLib.mediaType : null
},
getCurrentLibrarySettings: (state, getters) => {