mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-08-08 12:58:38 +02:00
Update cast button on fullscreen player
This commit is contained in:
@@ -6,6 +6,7 @@ export const state = () => ({
|
||||
playerIsLocal: false,
|
||||
playerIsPlaying: false,
|
||||
isCasting: false,
|
||||
isCastAvailable: false,
|
||||
appUpdateInfo: null,
|
||||
socketConnected: false,
|
||||
networkConnected: false,
|
||||
@@ -76,6 +77,9 @@ export const mutations = {
|
||||
setMediaPlayer(state, mediaPlayer) {
|
||||
state.isCasting = mediaPlayer === 'cast-player'
|
||||
},
|
||||
setCastAvailable(state, available) {
|
||||
state.isCastAvailable = available
|
||||
},
|
||||
setPlayerPlaying(state, val) {
|
||||
state.playerIsPlaying = val
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user