Login flow: Make User Agreement part of the registration flow

Some fixes
This commit is contained in:
manuroe 2018-11-27 18:36:06 +01:00
parent 84ce5374e6
commit 8d20e326ad
2 changed files with 2 additions and 2 deletions

View file

@ -1151,7 +1151,7 @@
- (IBAction)selectPhoneNumberCountry:(id)sender
{
if ([self.delegate respondsToSelector:@selector(authInputsView:presentViewController:)])
if ([self.delegate respondsToSelector:@selector(authInputsView:presentViewController:animated:)])
{
phoneNumberCountryPicker = [CountryPickerViewController countryPickerViewController];
phoneNumberCountryPicker.delegate = self;

View file

@ -184,7 +184,7 @@ final class TermsView: UIView, NibOwnerLoadable, UITableViewDelegate, UITableVie
webViewViewController.navigationItem.rightBarButtonItem = rightBarButtonItem
navigationController = RiotNavigationController()
delegate?.authInputsView!(nil, present: navigationController, animated: true)
delegate?.authInputsView!(nil, present: navigationController, animated: false)
navigationController?.pushViewController(webViewViewController, animated: false)
}