Skip to content

Commit

Permalink
smoother transition
Browse files Browse the repository at this point in the history
  • Loading branch information
krzd committed Aug 12, 2013
1 parent eaca8f2 commit 5a835b8
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions ShnergleApp/ShareViewController.m
Expand Up @@ -135,9 +135,6 @@ - (void)shareOnFacebook {
NSError *error) {
[self.navigationController setNavigationBarHidden:YES animated:YES];
//UIViewController *aroundMe = [self.storyboard instantiateViewControllerWithIdentifier:@"AroundMe"];
//[self.navigationController pushViewController:aroundMe animated:YES];
}];
*/

Expand Down Expand Up @@ -218,7 +215,7 @@ - (void)redeem {
if (appDelegate.redeeming != nil) {
[[[PostRequest alloc] init] exec:@"promotion_redemptions/set" params:[NSString stringWithFormat:@"promotion_id=%@", appDelegate.redeeming] delegate:self callback:@selector(redeemed:) type:@"string"];
} else {
[self.navigationController popToRootViewControllerAnimated:YES];
[self.navigationController popToRootViewControllerAnimated:NO];
}
}

Expand All @@ -236,7 +233,7 @@ - (void)redeemed:(NSString *)response {
}

- (void)alertView:(UIAlertView *)alertView didDismissWithButtonIndex:(NSInteger)buttonIndex {
[self.navigationController popToRootViewControllerAnimated:YES];
[self.navigationController popToRootViewControllerAnimated:NO];
}

- (IBAction)selectFriendsButtonAction:(id)sender {
Expand Down

0 comments on commit 5a835b8

Please sign in to comment.