mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-08-27 05:43:58 +02:00
Update cast button on fullscreen player
This commit is contained in:
@@ -39,11 +39,18 @@ import { AbsAudioPlayer } from '@/plugins/capacitor'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
onCastAvailableUpdateListener: null,
|
||||
isCastAvailable: false
|
||||
onCastAvailableUpdateListener: null
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
isCastAvailable: {
|
||||
get() {
|
||||
return this.$store.state.isCastAvailable
|
||||
},
|
||||
set(val) {
|
||||
this.$store.commit('setCastAvailable', val)
|
||||
}
|
||||
},
|
||||
socketConnected() {
|
||||
return this.$store.state.socketConnected
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user