Skip to content

Commit

Permalink
Disable video toggle button during screen sharing.
Browse files Browse the repository at this point in the history
  • Loading branch information
onurays committed May 9, 2022
1 parent 9a1dbb2 commit 3a02e84
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ class CallControlsView @JvmOverloads constructor(
views.videoToggleIcon.setImageResource(R.drawable.ic_video_off)
views.videoToggleIcon.contentDescription = resources.getString(R.string.a11y_start_camera)
}
views.videoToggleIcon.isEnabled = !state.isSharingScreen

when (callState) {
is CallState.LocalRinging -> {
Expand Down

0 comments on commit 3a02e84

Please sign in to comment.