Permalink
Browse files

fix itest

  • Loading branch information...
1 parent 9d8c4fa commit eccd91f54dfa903d6a34bb294b56254019810385 @nwg nwg committed May 9, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 SampleSdkApp/TestListController.m
@@ -340,8 +340,7 @@ - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath
if(url) {
id<SocializeEntity> entity = [SocializeEntity entityWithKey:url name:@"Test Entity"];
TestLikeButton *testLike = [[[TestLikeButton alloc] initWithEntity:entity] autorelease];
- UINavigationController *nav = [[[UINavigationController alloc] initWithRootViewController:testLike] autorelease];
- [self presentModalViewController:nav animated:YES];
+ [self.navigationController pushViewController:testLike animated:YES];
}
}

0 comments on commit eccd91f

Please sign in to comment.