mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 19:38:08 +00:00
Disable video toggle while outgoing call is ringing
This commit is contained in:
parent
834f8f7d7e
commit
eb6ab49543
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@
|
|||
android:layout_height="@dimen/call_button_size"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:padding="@dimen/call_button_icon_padding"
|
||||
android:enabled="@{!viewModel.isPaused && !viewModel.isPausedByRemote}"
|
||||
android:enabled="@{!viewModel.isOutgoing && !viewModel.isPaused && !viewModel.isPausedByRemote}"
|
||||
android:visibility="@{viewModel.hideVideo ? View.GONE : View.VISIBLE}"
|
||||
android:src="@{viewModel.isVideoEnabled ? @drawable/video_camera : @drawable/video_camera_slash, default=@drawable/video_camera}"
|
||||
android:background="@drawable/in_call_button_background_red"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue