From 2d77801a9b46f45f2b818a47ad955800708d107f Mon Sep 17 00:00:00 2001 From: GuavaGoat <320862384+GuavaGoat@users.noreply.github.com> Date: Thu, 3 Sep 2026 16:21:35 +0000 Subject: [PATCH] Update ActiveCallView.swift play reconnecting sound when reconnecting --- apps/ios/Shared/Views/Call/ActiveCallView.swift | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/ios/Shared/Views/Call/ActiveCallView.swift b/apps/ios/Shared/Views/Call/ActiveCallView.swift index 22fa6cdff3..c055105775 100644 --- a/apps/ios/Shared/Views/Call/ActiveCallView.swift +++ b/apps/ios/Shared/Views/Call/ActiveCallView.swift @@ -181,6 +181,8 @@ struct ActiveCallView: View { if call.connectedAt == nil { call.connectedAt = .now } + // stops the sound if the call was being reconnected + CallSoundsPlayer.shared.stop() if !wasConnected { CallSoundsPlayer.shared.vibrate(long: false) wasConnected = true @@ -188,6 +190,9 @@ struct ActiveCallView: View { } else if state.connectionState == "reconnecting" { // call is restored and not sent to the core, this is shown only to the ui // make sure core records correct duration despite reconnection state + if call.callState != .reconnecting { + CallSoundsPlayer.shared.startConnectingCallSound() + } call.callState = .reconnecting } if state.connectionState == "closed" {