Skip to content

Commit

Permalink
Return to email field if not an email address.
Browse files Browse the repository at this point in the history
  • Loading branch information
theory committed Mar 14, 2010
1 parent 35324b3 commit 16172e2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Classes/AddressViewController.m
Expand Up @@ -225,6 +225,8 @@ - (BOOL) validateEmail: (NSString *) email {
- (void)actionSheet:(UIActionSheet *)actionSheet didDismissWithButtonIndex:(NSInteger)buttonIndex {
if (buttonIndex != [actionSheet cancelButtonIndex]) {
[self requestButtonGo];
} else {
[self.emailField becomeFirstResponder];
}
}

Expand Down

0 comments on commit 16172e2

Please sign in to comment.