Lower alpha of video button while screen sharing.

This commit is contained in:
Onuray Sahin 2022-05-10 11:35:38 +03:00
parent 3a02e8405d
commit bb862cc509
1 changed files with 1 additions and 0 deletions

View File

@ -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 -> {