mirror of
https://github.com/element-hq/element-android
synced 2024-11-28 13:38:49 +03:00
Hide switch camera for voice call
This commit is contained in:
parent
96ecb1d07e
commit
30dee07a3b
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ class CallControlsBottomSheet : VectorBaseBottomSheetDialogFragment() {
|
|||
CallAudioManager.SoundDevice.WIRELESS_HEADSET -> getString(R.string.sound_device_wireless_headset)
|
||||
}
|
||||
|
||||
callControlsSwitchCamera.isVisible = state.canSwitchCamera
|
||||
callControlsSwitchCamera.isVisible = state.isVideoCall && state.canSwitchCamera
|
||||
callControlsSwitchCamera.subTitle = getString(if (state.isFrontCamera) R.string.call_camera_front else R.string.call_camera_back)
|
||||
|
||||
if (state.isVideoCall) {
|
||||
|
|
Loading…
Reference in a new issue