Hide in call - more button - (3 dosts) when call stats or numpad is displayed

This commit is contained in:
Christophe Deschamps 2023-03-09 11:51:18 +01:00
parent 590ebdbd66
commit 211714167a

View file

@ -107,6 +107,7 @@ import linphonesw
// Numpad
ControlsViewModel.shared.numpadVisible.readCurrentAndObserve { (visible) in
showextraButtons.isHidden = visible == true
if (visible == true && CallsViewModel.shared.currentCallData.value != nil ) {
self.numpadView?.removeFromSuperview()
self.shadingMask.isHidden = false
@ -122,6 +123,7 @@ import linphonesw
// Call stats
ControlsViewModel.shared.callStatsVisible.readCurrentAndObserve { (visible) in
showextraButtons.isHidden = visible == true
if (visible == true && CallsViewModel.shared.currentCallData.value != nil ) {
self.currentCallStatsVew?.removeFromSuperview()
self.shadingMask.isHidden = false