mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
sidemenu: remove link account item if account was linked
This commit is contained in:
parent
f324a8701a
commit
8f770bf3a3
2 changed files with 2 additions and 1 deletions
|
|
@ -184,6 +184,7 @@ void assistant_activate_phone_number_link(LinphoneAccountCreator *creator, Linph
|
|||
AssistantLinkView *thiz = (__bridge AssistantLinkView *)(linphone_account_creator_get_user_data(creator));
|
||||
thiz.waitView.hidden = YES;
|
||||
if (status == LinphoneAccountCreatorOK) {
|
||||
[LinphoneManager.instance lpConfigSetInt:0 forKey:@"must_link_account_time"];
|
||||
[PhoneMainView.instance popToView:DialerView.compositeViewDescription];
|
||||
} else {
|
||||
[thiz showErrorPopup:resp];
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
}
|
||||
- (void)viewWillAppear:(BOOL)animated {
|
||||
[super viewWillAppear:animated];
|
||||
|
||||
[_sideMenuTableViewController viewWillAppear:animated];
|
||||
[NSNotificationCenter.defaultCenter addObserver:self
|
||||
selector:@selector(registrationUpdateEvent:)
|
||||
name:kLinphoneRegistrationUpdate
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue