From 732f5a154dae517237661f96702743e0926d775e Mon Sep 17 00:00:00 2001 From: Benjamin Reis Date: Tue, 8 Nov 2016 15:20:42 +0100 Subject: [PATCH] update the password field of settings view when password updated --- Classes/SettingsView.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Classes/SettingsView.m b/Classes/SettingsView.m index a5e541401..121d3b78a 100644 --- a/Classes/SettingsView.m +++ b/Classes/SettingsView.m @@ -445,8 +445,11 @@ void update_hash_cbs(LinphoneAccountCreator *creator, LinphoneAccountCreatorStat linphone_core_add_auth_info(LC, newAuth); } } + [self recomputeAccountLabelsAndSync]; + [settingsStore setObject:_tmpPwd forKey:@"account_mandatory_password_preference"]; _tmpPwd = NULL; + UIAlertController *errView = [UIAlertController alertControllerWithTitle:NSLocalizedString(@"Changing your password", nil) message:NSLocalizedString(@"Your password has been successfully changed", nil) preferredStyle:UIAlertControllerStyleAlert];