mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-08-27 05:43:58 +02:00
Add:Device setting for locking screen orientation #449
This commit is contained in:
@@ -52,6 +52,10 @@ export const getters = {
|
||||
getAltViewEnabled: state => {
|
||||
if (!state.deviceData || !state.deviceData.deviceSettings) return false
|
||||
return state.deviceData.deviceSettings.enableAltView
|
||||
},
|
||||
getOrientationLockSetting: state => {
|
||||
if (!state.deviceData || !state.deviceData.deviceSettings) return false
|
||||
return state.deviceData.deviceSettings.lockOrientation
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user