Disable video toggle button during screen sharing.
This commit is contained in:
parent
9a1dbb27d4
commit
3a02e8405d
@ -89,6 +89,7 @@ class CallControlsView @JvmOverloads constructor(
|
|||||||
views.videoToggleIcon.setImageResource(R.drawable.ic_video_off)
|
views.videoToggleIcon.setImageResource(R.drawable.ic_video_off)
|
||||||
views.videoToggleIcon.contentDescription = resources.getString(R.string.a11y_start_camera)
|
views.videoToggleIcon.contentDescription = resources.getString(R.string.a11y_start_camera)
|
||||||
}
|
}
|
||||||
|
views.videoToggleIcon.isEnabled = !state.isSharingScreen
|
||||||
|
|
||||||
when (callState) {
|
when (callState) {
|
||||||
is CallState.LocalRinging -> {
|
is CallState.LocalRinging -> {
|
||||||
|
Loading…
Reference in New Issue
Block a user