Ebook and comic reader #14

This commit is contained in:
advplyr
2021-10-17 20:20:00 -05:00
parent 3234e7ef06
commit 5a025b3a03
21 changed files with 2139 additions and 14 deletions
+10 -1
View File
@@ -11,7 +11,9 @@ export const state = () => ({
networkConnectionType: null,
streamListener: null,
isFirstLoad: true,
hasStoragePermission: false
hasStoragePermission: false,
selectedBook: null,
showReader: false
})
export const getters = {
@@ -80,5 +82,12 @@ export const mutations = {
},
removeStreamListener(state) {
state.streamListener = null
},
openReader(state, audiobook) {
state.selectedBook = audiobook
state.showReader = true
},
setShowReader(state, val) {
state.showReader = val
}
}