mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
Add LinphoneRegistrationRefreshing status to the registration state switches to avoid crash
This commit is contained in:
parent
55a3792882
commit
1a6b147df4
1 changed files with 2 additions and 0 deletions
|
|
@ -176,6 +176,7 @@
|
|||
case LinphoneRegistrationNone:
|
||||
return [UIImage imageNamed:@"led_disconnected.png"];
|
||||
case LinphoneRegistrationProgress:
|
||||
case LinphoneRegistrationRefreshing:
|
||||
return [UIImage imageNamed:@"led_inprogress.png"];
|
||||
case LinphoneRegistrationOk:
|
||||
return [UIImage imageNamed:@"led_connected.png"];
|
||||
|
|
@ -207,6 +208,7 @@
|
|||
|
||||
switch (state) {
|
||||
case LinphoneRegistrationOk:
|
||||
case LinphoneRegistrationRefreshing:
|
||||
message = NSLocalizedString(@"Connected", nil);
|
||||
break;
|
||||
case LinphoneRegistrationNone:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue