mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-18 04:08:44 +03:00
Lower alpha of video button while screen sharing.
This commit is contained in:
parent
3a02e8405d
commit
bb862cc509
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue