mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-29 15:52:40 +00:00
Login flow: Make User Agreement part of the registration flow
Some fixes
This commit is contained in:
parent
84ce5374e6
commit
8d20e326ad
2 changed files with 2 additions and 2 deletions
|
@ -1151,7 +1151,7 @@
|
||||||
|
|
||||||
- (IBAction)selectPhoneNumberCountry:(id)sender
|
- (IBAction)selectPhoneNumberCountry:(id)sender
|
||||||
{
|
{
|
||||||
if ([self.delegate respondsToSelector:@selector(authInputsView:presentViewController:)])
|
if ([self.delegate respondsToSelector:@selector(authInputsView:presentViewController:animated:)])
|
||||||
{
|
{
|
||||||
phoneNumberCountryPicker = [CountryPickerViewController countryPickerViewController];
|
phoneNumberCountryPicker = [CountryPickerViewController countryPickerViewController];
|
||||||
phoneNumberCountryPicker.delegate = self;
|
phoneNumberCountryPicker.delegate = self;
|
||||||
|
|
|
@ -184,7 +184,7 @@ final class TermsView: UIView, NibOwnerLoadable, UITableViewDelegate, UITableVie
|
||||||
webViewViewController.navigationItem.rightBarButtonItem = rightBarButtonItem
|
webViewViewController.navigationItem.rightBarButtonItem = rightBarButtonItem
|
||||||
|
|
||||||
navigationController = RiotNavigationController()
|
navigationController = RiotNavigationController()
|
||||||
delegate?.authInputsView!(nil, present: navigationController, animated: true)
|
delegate?.authInputsView!(nil, present: navigationController, animated: false)
|
||||||
navigationController?.pushViewController(webViewViewController, animated: false)
|
navigationController?.pushViewController(webViewViewController, animated: false)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue