update the password field of settings view when password updated

This commit is contained in:
Benjamin Reis 2016-11-08 15:20:42 +01:00
parent c5e1b910ab
commit 732f5a154d

View file

@ -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];