From 2ef054c054bb1098c36e32787db1920ab91af19f Mon Sep 17 00:00:00 2001 From: matthew Date: Thu, 23 Oct 2008 17:04:51 +0000 Subject: Update fields after upload; slightly quicker flip. --- iphone/FixMyStreet/Classes/InputTableViewController.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'iphone/FixMyStreet/Classes/InputTableViewController.m') diff --git a/iphone/FixMyStreet/Classes/InputTableViewController.m b/iphone/FixMyStreet/Classes/InputTableViewController.m index 8af16bac5..1f2769590 100644 --- a/iphone/FixMyStreet/Classes/InputTableViewController.m +++ b/iphone/FixMyStreet/Classes/InputTableViewController.m @@ -41,7 +41,6 @@ // Implement viewDidLoad to do additional setup after loading the view. - (void)viewDidLoad { [super viewDidLoad]; -// actionsToDoView.sectionFooterHeight = 0; backButton = [[UIBarButtonItem alloc] initWithTitle:@"Cancel" style:UIBarButtonSystemItemCancel target:nil action:nil]; self.navigationItem.backBarButtonItem = backButton; @@ -281,11 +280,12 @@ // Buttons +// I realise this flips the navbar too, but can't seem to do it nicely with a container parent, and not really that important! -(IBAction)gotoAbout:(id)sender { backButton.title = @"Back"; AboutViewController* aboutViewController = [[AboutViewController alloc] initWithNibName:@"AboutView" bundle:nil]; [UIView beginAnimations:nil context:NULL]; - [UIView setAnimationDuration: 1]; + [UIView setAnimationDuration: 0.75]; [UIView setAnimationTransition:UIViewAnimationTransitionFlipFromRight forView:self.navigationController.view cache:YES]; [self.navigationController pushViewController:aboutViewController animated:NO]; [UIView commitAnimations]; @@ -309,7 +309,7 @@ BOOL success = [delegate uploadReport]; if (success) imageView.image = nil; - [actionsToDoView reloadData]; + [self enableSubmissionButton]; } } -- cgit v1.2.3