Initial work

This commit is contained in:
Marcos Carvalho
2024-05-23 22:33:06 +01:00
parent f047f6a23b
commit d788623509
9 changed files with 214 additions and 44 deletions
+9 -1
View File
@@ -77,6 +77,14 @@ export const getters = {
},
getOrientationLockSetting: state => {
return state.deviceData?.deviceSettings?.lockOrientation
},
getCanDownloadUsingCellular: state => {
if (!state.deviceData?.deviceSettings?.downloadUsingCellular) return 'ALWAYS'
return state.deviceData.deviceSettings.downloadUsingCellular || 'ALWAYS'
},
getCanStreamingUsingCellular: state => {
if (!state.deviceData?.deviceSettings?.streamingUsingCellular) return 'ALWAYS'
return state.deviceData.deviceSettings.streamingUsingCellular || 'ALWAYS'
}
}
@@ -180,4 +188,4 @@ export const mutations = {
state.serverSettings = val
this.$localStore.setServerSettings(state.serverSettings)
}
}
}