Update:Use cover aspect ratio from library setting

This commit is contained in:
advplyr 2022-10-22 08:59:10 -05:00
parent 3c9b8c1c6f
commit a852114e9c
13 changed files with 22 additions and 15 deletions

View file

@ -36,10 +36,6 @@ export const getters = {
if (!state.serverSettings) return null
return state.serverSettings[key]
},
getBookCoverAspectRatio: state => {
if (!state.serverSettings) return 1
return state.serverSettings.coverAspectRatio === 0 ? 1.6 : 1
},
getJumpForwardTime: state => {
if (!state.deviceData || !state.deviceData.deviceSettings) return 10
return state.deviceData.deviceSettings.jumpForwardTime || 10