diff options
author | matthew <matthew> | 2008-10-23 17:04:51 +0000 |
---|---|---|
committer | matthew <matthew> | 2008-10-23 17:04:51 +0000 |
commit | 2ef054c054bb1098c36e32787db1920ab91af19f (patch) | |
tree | 32d2c9e576d9ce0a24d1f487faec90cdca39b377 /iphone/FixMyStreet/Classes/InputTableViewController.m | |
parent | 0b76d795a53213e3103efcbc4c4b444803db3d68 (diff) |
Update fields after upload; slightly quicker flip.
Diffstat (limited to 'iphone/FixMyStreet/Classes/InputTableViewController.m')
-rw-r--r-- | iphone/FixMyStreet/Classes/InputTableViewController.m | 6 |
1 files changed, 3 insertions, 3 deletions
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]; } } |