Fix typo on camera switch in audio-only.

This commit is contained in:
Julien Wadel 2022-12-06 17:32:22 +01:00
parent d1027f401d
commit 19e59ae021

View file

@ -540,7 +540,7 @@ Rectangle {
if( callModel.isConference){// Only deactivate camera in conference.
if(mainItem.isAudioOnly) {
var layout = SettingsModel.videoConferenceLayout != LinphoneEnums.ConferenceLayoutAudioOnly ? SettingsModel.videoConferenceLayout : LinphoneEnums.ConferenceLayoutGrid
layoutDelay.being(layout)
layoutDelay.begin(layout)
camera._activateCamera = true
}else
callModel.cameraEnabled = !callModel.cameraEnabled