Skip to content

Commit

Permalink
Added spinners to connection messages for calls
Browse files Browse the repository at this point in the history
  • Loading branch information
f-r00t committed Nov 20, 2023
1 parent 89d4b74 commit ea3af39
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/Recipients.js
Original file line number Diff line number Diff line change
Expand Up @@ -1991,7 +1991,8 @@ export class CallScreenNoTranslation extends React.Component {
borderRadius: 5,
padding: 10,
color: 'black',
textAlign: 'center'
textAlign: 'center',
flexDirection: 'row'
}}>
{ this.state.sdp && this.state.callStatus == 'disconnected' &&
<Text>{this.state.nickname + t('isCalling')}</Text>
Expand All @@ -2003,10 +2004,10 @@ export class CallScreenNoTranslation extends React.Component {
<Text>{t('noRecordAccess')}</Text>
}
{ this.state.callStatus == 'waiting' &&
<Text>{t('waitingForAnswer')}</Text>
<><Text>{t('waitingForAnswer')}</Text><ActivityIndicator /></>
}
{ this.state.callStatus == 'connecting' &&
<Text>{t('connecting')}</Text>
<><Text>{t('connecting')}</Text><ActivityIndicator /></>
}
{/* { this.state.callStatus == 'connected' &&
<Text>{"Connected"}</Text>
Expand Down

0 comments on commit ea3af39

Please sign in to comment.