Add:Device setting for locking screen orientation #449

This commit is contained in:
advplyr
2022-12-04 10:41:09 -06:00
parent af216d9b38
commit 9687f47b6b
12 changed files with 100 additions and 7 deletions
+4
View File
@@ -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
}
}