Skip to content
This repository was archived by the owner on Jun 27, 2020. It is now read-only.

Commit 57c67a8

Browse files
committed
Fixing formatting in mailcomp snippet
1 parent 51bca05 commit 57c67a8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mailcomp.m

+1-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ - (void)presentModalMailComposerViewController:(BOOL)animated {
1616
[composeViewController setMessageBody:<#Body#> isHTML:YES];
1717
[composeViewController setToRecipients:@[<#Recipients#>]];
1818

19-
[self presentViewController:composeViewController animated:animated completion:nil];
19+
[self presentViewController:composeViewController animated:animated completion:nil];
2020
} else {
2121
[[[UIAlertView alloc] initWithTitle:NSLocalizedString(@"Error", nil) message:NSLocalizedString(@"<#Cannot Send Mail Message#>", nil) delegate:nil cancelButtonTitle:NSLocalizedString(@"OK", nil) otherButtonTitles:nil] show];
2222
}
@@ -30,7 +30,6 @@ - (void)mailComposeController:(MFMailComposeViewController *)controller
3030
{
3131
if (error) {
3232
NSLog(@"%@", error);
33-
3433
}
3534

3635
[self dismissViewControllerAnimated:YES completion:nil];

0 commit comments

Comments
 (0)