mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-08-28 14:17:19 +02:00
Support for android 8+, selectable download location, permissions check, recursive delete
This commit is contained in:
+10
-2
@@ -8,8 +8,10 @@ export const state = () => ({
|
||||
appUpdateInfo: null,
|
||||
socketConnected: false,
|
||||
networkConnected: false,
|
||||
networkConnectionType: 'unknown',
|
||||
streamListener: null
|
||||
networkConnectionType: null,
|
||||
streamListener: null,
|
||||
isFirstLoad: true,
|
||||
hasStoragePermission: false
|
||||
})
|
||||
|
||||
export const getters = {
|
||||
@@ -27,6 +29,12 @@ export const getters = {
|
||||
export const actions = {}
|
||||
|
||||
export const mutations = {
|
||||
setHasStoragePermission(state, val) {
|
||||
state.hasStoragePermission = val
|
||||
},
|
||||
setIsFirstLoad(state, val) {
|
||||
state.isFirstLoad = val
|
||||
},
|
||||
setAppUpdateInfo(state, info) {
|
||||
state.appUpdateInfo = info
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user