From beae45dd65202ac755f6c23f50a336793d05e74f Mon Sep 17 00:00:00 2001 From: REIS Benjamin Date: Mon, 24 Oct 2016 16:21:10 +0200 Subject: [PATCH] display phonenumber to whom the sms had been send --- Classes/AssistantView.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Classes/AssistantView.m b/Classes/AssistantView.m index 34616c326..2cddb537c 100644 --- a/Classes/AssistantView.m +++ b/Classes/AssistantView.m @@ -912,6 +912,8 @@ void assistant_recover_phone_account(LinphoneAccountCreator *creator, LinphoneAc AssistantView *thiz = (__bridge AssistantView *)(linphone_account_creator_get_user_data(creator)); thiz.waitView.hidden = YES; if (status == LinphoneAccountCreatorOK) { + NSString* phoneNumber = [NSString stringWithUTF8String:linphone_account_creator_get_phone_number(creator)]; + thiz.activationSMSText.text = [NSString stringWithFormat:NSLocalizedString(@"We have sent a SMS with a validation code to %@. To complete your phone number verification, please enter the 4 digit code below:", nil), phoneNumber]; [thiz changeView:thiz.createAccountActivateSMSView back:FALSE animation:TRUE]; } else { if(!resp) {