Skip to content

Commit

Permalink
Lower alpha of video button while screen sharing.
Browse files Browse the repository at this point in the history
  • Loading branch information
onurays committed May 10, 2022
1 parent 3a02e84 commit bb862cc
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 -> {
Expand Down

0 comments on commit bb862cc

Please sign in to comment.