Skip to content

Commit

Permalink
Merge pull request #11755 from nextcloud/backport/11726/stable28
Browse files Browse the repository at this point in the history
[stable28] fix(CallView): enforce switching to Speaker view then select screenshares
  • Loading branch information
nickvergessen authored Mar 8, 2024
2 parents 1c42659 + 251d185 commit 0b2d68b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion src/components/CallView/CallView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,15 @@ export default {
return
}
this.$store.dispatch('startPresentation')
if (this.$store.getters.presentationStarted) {
this.$store.dispatch('setCallViewMode', {
isGrid: false,
isStripeOpen: false,
clearLast: false,
})
} else {
this.$store.dispatch('startPresentation')
}
this.$store.dispatch('selectedVideoPeerId', null)
this.screens.splice(index, 1)
this.screens.unshift(id)
Expand Down
2 changes: 1 addition & 1 deletion src/components/CallView/shared/VideoBottomBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ export default {
},
switchToScreen() {
if (!this.sharedData.screenVisible) {
if (!this.sharedData.screenVisible || !this.isBig) {
emit('switch-screen-to-id', this.model.attributes.peerId)
}
},
Expand Down

0 comments on commit 0b2d68b

Please sign in to comment.