summaryrefslogtreecommitdiffstats
path: root/Classes/TopicsViewController.m
diff options
context:
space:
mode:
Diffstat (limited to 'Classes/TopicsViewController.m')
-rw-r--r--Classes/TopicsViewController.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/Classes/TopicsViewController.m b/Classes/TopicsViewController.m
index d9c2f60..67c8490 100644
--- a/Classes/TopicsViewController.m
+++ b/Classes/TopicsViewController.m
@@ -30,6 +30,7 @@
[super viewDidLoad];
NSLog(@"viewDidLoad");
self.tableView.rowHeight = 100;
+ self.view.backgroundColor = [UIColor viewFlipsideBackgroundColor];
//UIBarButtonItem *doneItem = [[[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemDone target:self action:@selector(returnToParserChoices)] autorelease];
//self.navigationItem.rightBarButtonItem = doneItem;
@@ -323,7 +324,7 @@
// [self.navigationController pushViewController:picDumpViewController animated:YES];
//
photoViewController = [[[PhotoViewController alloc] init] autorelease];
- photoViewController.topic = [topics objectAtIndex:indexPath.row];
+ photoViewController.topic = [[tableDictionary objectForIndex:indexPath.section] objectAtIndex:indexPath.row];
[self.navigationController pushViewController:photoViewController animated:YES];
}