forked from mirrors/linphone-iphone
Wizard: (typo) never use == for NSNumber comparaison, it will compare pointers and this is actually broken on iOS 8. Instead use isEqual method
This commit is contained in:
parent
a76f80c7a0
commit
2030dbb15c
1 changed files with 1 additions and 1 deletions
|
|
@ -961,7 +961,7 @@ static UICompositeViewDescription *compositeDescription = nil;
|
|||
[self createAccount:identity password:password email:email];
|
||||
}
|
||||
} else if ([[request method] isEqualToString:@"create_account_with_useragent"]) {
|
||||
if ([response.value isEqualToNumber:[NSNumber numberWithInt:0]]) {
|
||||
if ([response.object isEqualToNumber:[NSNumber numberWithInt:0]]) {
|
||||
NSString *username = [WizardViewController findTextField:ViewElement_Username view:contentView].text;
|
||||
NSString *password = [WizardViewController findTextField:ViewElement_Password view:contentView].text;
|
||||
[self changeView:validateAccountView back:FALSE animation:TRUE];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue