Skip to content

Commit

Permalink
feat: update callview UI based on call states
Browse files Browse the repository at this point in the history
  • Loading branch information
gbattistel committed Jan 29, 2025
1 parent 5317054 commit de22b14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions TelnyxWebRTCDemo/Views/CallView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ struct CallView: View {
switch viewModel.callState {
case .DONE:
callView
case .NEW, .RINGING:
case .NEW:
incomingCallView
case .ACTIVE, .HELD, .CONNECTING:
case .ACTIVE, .HELD, .CONNECTING, .RINGING:
callingView
}
}
Expand Down

0 comments on commit de22b14

Please sign in to comment.