Update connecting and ringing state strings

This commit is contained in:
ismailgulek
2021-04-27 14:35:56 +03:00
parent 0a3c18a8fc
commit 2cae8285b3
4 changed files with 20 additions and 12 deletions
@@ -156,13 +156,18 @@ class RoomDirectCallStatusBubbleCell: RoomBaseCallBubbleCell {
case .fledgling,
.waitLocalMedia,
.createOffer,
.inviteSent,
.connecting:
viewState = .active
if call.isIncoming {
statusText = VectorL10n.eventFormatterCallYouCurrentlyIn
} else {
statusText = VectorL10n.eventFormatterCallYouStarted
statusText = VectorL10n.eventFormatterCallConnecting
}
case .inviteSent:
if call.isIncoming {
statusText = VectorL10n.eventFormatterCallYouCurrentlyIn
} else {
statusText = VectorL10n.eventFormatterCallRinging
}
case .createAnswer,
.connected,