Temporarely revert "Add LinphoneRegistrationRefreshing status to the registration state switches to avoid crash" because the 5.3.0 SDK does not have this enum yet.

This reverts commit 1192b80906.
This commit is contained in:
QuentinArguillere 2023-08-17 16:12:01 +02:00
parent f13e13326f
commit c58cbad002

View file

@ -176,7 +176,6 @@
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"];
@ -208,7 +207,6 @@
switch (state) {
case LinphoneRegistrationOk:
case LinphoneRegistrationRefreshing:
message = NSLocalizedString(@"Connected", nil);
break;
case LinphoneRegistrationNone: