summaryrefslogtreecommitdiff
path: root/CyteKit
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-03-07 23:40:48 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-08 01:51:00 -0800
commit22485d93d47fb92ef04faca680a1f50e7df41edf (patch)
treef35897822561c24b3f3bb50483dbb3f9431afa37 /CyteKit
parentd9fc1d3713a7d40d51ffd8db08b7045fa5a263d1 (diff)
Automatically attach cydia.log and `dpkg -l`.
Diffstat (limited to 'CyteKit')
-rw-r--r--CyteKit/WebViewController.mm5
1 files changed, 5 insertions, 0 deletions
diff --git a/CyteKit/WebViewController.mm b/CyteKit/WebViewController.mm
index 4bd05b9..61786da 100644
--- a/CyteKit/WebViewController.mm
+++ b/CyteKit/WebViewController.mm
@@ -281,6 +281,9 @@ float CYScrollViewDecelerationRateNormal;
[self dismissModalViewControllerAnimated:YES];
}
+- (void) _setupMail:(MFMailComposeViewController *)controller {
+}
+
- (void) _openMailToURL:(NSURL *)url {
if ($MFMailComposeViewController != nil && [$MFMailComposeViewController canSendMail]) {
MFMailComposeViewController *controller([[[$MFMailComposeViewController alloc] init] autorelease]);
@@ -288,6 +291,8 @@ float CYScrollViewDecelerationRateNormal;
[controller setMailToURL:url];
+ [self _setupMail:controller];
+
[self presentModalViewController:controller animated:YES];
return;
}