diff options
author | matthew <matthew> | 2008-12-04 12:00:45 +0000 |
---|---|---|
committer | matthew <matthew> | 2008-12-04 12:00:45 +0000 |
commit | 494c6c0470538c31656e12d824a744ce86ecf45a (patch) | |
tree | 01cb83c6b22bb58deae831c38d75cb03a2937caa /iphone/FixMyStreet/Classes/InputTableViewController.m | |
parent | 9d6bcd3808eb625690951e047a890df1a65a2a89 (diff) |
Forget location after successful submission
Diffstat (limited to 'iphone/FixMyStreet/Classes/InputTableViewController.m')
-rw-r--r-- | iphone/FixMyStreet/Classes/InputTableViewController.m | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/iphone/FixMyStreet/Classes/InputTableViewController.m b/iphone/FixMyStreet/Classes/InputTableViewController.m index d8819ff2a..c9828b62a 100644 --- a/iphone/FixMyStreet/Classes/InputTableViewController.m +++ b/iphone/FixMyStreet/Classes/InputTableViewController.m @@ -194,6 +194,10 @@ [self addPhoto:nil]; } else if (indexPath.section == 2) { [self startLocation]; + UIActivityIndicatorView* activityView = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleGray]; + [activityView startAnimating]; + actionFetchLocationCell.accessoryView = activityView; + [activityView release]; } else if (indexPath.section == 1) { FixMyStreetAppDelegate *delegate = [[UIApplication sharedApplication] delegate]; EditSubjectViewController* editSubjectViewController = [[EditSubjectViewController alloc] initWithNibName:@"EditSubjectView" bundle:nil]; |