forked from mirrors/linphone-iphone
Add LinphoneRegistrationRefreshing status to the registration state switches to avoid crash
This commit is contained in:
parent
a5d421f9f9
commit
1192b80906
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