mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-08-29 22:57:16 +02:00
Fix: android auto requirements, Change: New UI #33
This commit is contained in:
+8
-1
@@ -15,7 +15,8 @@ export const state = () => ({
|
||||
selectedBook: null,
|
||||
showReader: false,
|
||||
downloadFolder: null,
|
||||
mediaScanResults: {}
|
||||
mediaScanResults: {},
|
||||
showSideDrawer: false
|
||||
})
|
||||
|
||||
export const getters = {
|
||||
@@ -27,6 +28,9 @@ export const getters = {
|
||||
},
|
||||
isAudiobookPlaying: (state) => id => {
|
||||
return (state.playingDownload && state.playingDownload.id === id) || (state.streamAudiobook && state.streamAudiobook.id === id)
|
||||
},
|
||||
getAudiobookIdStreaming: state => {
|
||||
return state.streamAudiobook ? state.streamAudiobook.id : null
|
||||
}
|
||||
}
|
||||
|
||||
@@ -97,5 +101,8 @@ export const mutations = {
|
||||
},
|
||||
setMediaScanResults(state, val) {
|
||||
state.mediaScanResults = val
|
||||
},
|
||||
setShowSideDrawer(state, val) {
|
||||
state.showSideDrawer = val
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user