From eb5c799ca7d3bb19c11002c6c92cc75bbc31a1df Mon Sep 17 00:00:00 2001 From: Benoit Martins Date: Mon, 3 Nov 2025 09:29:19 +0100 Subject: [PATCH] Disable video button in audio-only mode during a call --- Linphone/UI/Call/CallView.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Linphone/UI/Call/CallView.swift b/Linphone/UI/Call/CallView.swift index 5e0e44be4..fd08d88d7 100644 --- a/Linphone/UI/Call/CallView.swift +++ b/Linphone/UI/Call/CallView.swift @@ -1975,9 +1975,9 @@ struct CallView: View { .frame(width: buttonSize, height: buttonSize) .background(Color.gray500) .cornerRadius(40) - .disabled(callViewModel.isPaused || telecomManager.isPausedByRemote || telecomManager.outgoingCallStarted) + .disabled(callViewModel.isPaused || telecomManager.isPausedByRemote || telecomManager.outgoingCallStarted || optionsChangeLayout == 3) - if callViewModel.isPaused || telecomManager.isPausedByRemote || telecomManager.outgoingCallStarted { + if callViewModel.isPaused || telecomManager.isPausedByRemote || telecomManager.outgoingCallStarted || optionsChangeLayout == 3 { Color.gray600.opacity(0.8) .cornerRadius(40) .allowsHitTesting(false)