mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-08-19 09:08:26 +02:00
Update:Default to alt view so that wooden shelf does not show on initial load
This commit is contained in:
parent
19b928d7f6
commit
6f1b93bd9f
1 changed files with 3 additions and 3 deletions
|
@ -64,15 +64,15 @@ export const getters = {
|
||||||
return state.serverSettings[key]
|
return state.serverSettings[key]
|
||||||
},
|
},
|
||||||
getJumpForwardTime: state => {
|
getJumpForwardTime: state => {
|
||||||
if (!state.deviceData || !state.deviceData.deviceSettings) return 10
|
if (!state.deviceData?.deviceSettings) return 10
|
||||||
return state.deviceData.deviceSettings.jumpForwardTime || 10
|
return state.deviceData.deviceSettings.jumpForwardTime || 10
|
||||||
},
|
},
|
||||||
getJumpBackwardsTime: state => {
|
getJumpBackwardsTime: state => {
|
||||||
if (!state.deviceData || !state.deviceData.deviceSettings) return 10
|
if (!state.deviceData?.deviceSettings) return 10
|
||||||
return state.deviceData.deviceSettings.jumpBackwardsTime || 10
|
return state.deviceData.deviceSettings.jumpBackwardsTime || 10
|
||||||
},
|
},
|
||||||
getAltViewEnabled: state => {
|
getAltViewEnabled: state => {
|
||||||
if (!state.deviceData || !state.deviceData.deviceSettings) return false
|
if (!state.deviceData?.deviceSettings) return true
|
||||||
return state.deviceData.deviceSettings.enableAltView
|
return state.deviceData.deviceSettings.enableAltView
|
||||||
},
|
},
|
||||||
getOrientationLockSetting: state => {
|
getOrientationLockSetting: state => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue