mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
Disable video button in audio-only mode during a call
This commit is contained in:
parent
9413f6f5dc
commit
db72bdf242
1 changed files with 2 additions and 2 deletions
|
|
@ -1977,9 +1977,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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue