Skip to content

Commit

Permalink
feat: update profileview when the HomeViewController moves to foreground
Browse files Browse the repository at this point in the history
  • Loading branch information
gbattistel committed Jan 29, 2025
1 parent 5b2ac30 commit 5317054
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions TelnyxWebRTCDemo/ViewControllers/HomeViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ class HomeViewController: UIViewController {
DispatchQueue.main.async {
self.callViewModel.isMuted = self.appDelegate.currentCall?.isMuted ?? false
self.callViewModel.isSpeakerOn = self.telnyxClient?.isSpeakerEnabled ?? false
self.profileViewModel.selectedProfile = SipCredentialsManager.shared.getSelectedCredential()
}
}

Expand Down

0 comments on commit 5317054

Please sign in to comment.