Lower alpha of video button while screen sharing.
This commit is contained in:
parent
3a02e8405d
commit
bb862cc509
@ -90,6 +90,7 @@ class CallControlsView @JvmOverloads constructor(
|
||||
views.videoToggleIcon.contentDescription = resources.getString(R.string.a11y_start_camera)
|
||||
}
|
||||
views.videoToggleIcon.isEnabled = !state.isSharingScreen
|
||||
views.videoToggleIcon.alpha = if (state.isSharingScreen) 0.5f else 1f
|
||||
|
||||
when (callState) {
|
||||
is CallState.LocalRinging -> {
|
||||
|
Loading…
Reference in New Issue
Block a user