mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-16 01:55:04 +08:00
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