mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-08-04 01:54:33 +02:00
Update:Use cover aspect ratio from library setting
This commit is contained in:
parent
3c9b8c1c6f
commit
a852114e9c
13 changed files with 22 additions and 15 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue