Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixing formatting in mailcomp snippet

  • Loading branch information...
commit 57c67a89b8d0817edad8ac5099116569de28f6dd 1 parent 51bca05
@mattt mattt authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  mailcomp.m
View
3  mailcomp.m
@@ -16,7 +16,7 @@ - (void)presentModalMailComposerViewController:(BOOL)animated {
[composeViewController setMessageBody:<#Body#> isHTML:YES];
[composeViewController setToRecipients:@[<#Recipients#>]];
- [self presentViewController:composeViewController animated:animated completion:nil];
+ [self presentViewController:composeViewController animated:animated completion:nil];
} else {
[[[UIAlertView alloc] initWithTitle:NSLocalizedString(@"Error", nil) message:NSLocalizedString(@"<#Cannot Send Mail Message#>", nil) delegate:nil cancelButtonTitle:NSLocalizedString(@"OK", nil) otherButtonTitles:nil] show];
}
@@ -30,7 +30,6 @@ - (void)mailComposeController:(MFMailComposeViewController *)controller
{
if (error) {
NSLog(@"%@", error);
-
}
[self dismissViewControllerAnimated:YES completion:nil];
Please sign in to comment.
Something went wrong with that request. Please try again.