diff options
Diffstat (limited to 'iphone/FixMyStreet/Classes/AboutViewController.m')
-rw-r--r-- | iphone/FixMyStreet/Classes/AboutViewController.m | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/iphone/FixMyStreet/Classes/AboutViewController.m b/iphone/FixMyStreet/Classes/AboutViewController.m deleted file mode 100644 index 8f6e8a228..000000000 --- a/iphone/FixMyStreet/Classes/AboutViewController.m +++ /dev/null @@ -1,45 +0,0 @@ -// -// AboutViewController.m -// FixMyStreet -// -// Created by Matthew on 23/10/2008. -// Copyright 2008 UK Citizens Online Democracy. All rights reserved. -// - -#import "AboutViewController.h" - -@implementation AboutViewController - -/* -// Override initWithNibName:bundle: to load the view using a nib file then perform additional customization that is not appropriate for viewDidLoad. -- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil { - if (self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]) { - // Custom initialization - } - return self; -} -*/ - -// Implement viewDidLoad to do additional setup after loading the view. -- (void)viewDidLoad { - [super viewDidLoad]; - self.title = @"About"; - self.view.backgroundColor = [UIColor groupTableViewBackgroundColor]; - donateButton.titleLabel.font = [UIFont systemFontOfSize:32]; -} - - -- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { - // Return YES for supported orientations - return (interfaceOrientation == UIInterfaceOrientationPortrait); -} - -- (void)dealloc { - [super dealloc]; -} - --(IBAction)donate:(id)sender { - [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://www.mysociety.org/donate/"]]; -} - -@end |