equal
deleted
inserted
replaced
66 UIButton *button = (UIButton *)sender; |
66 UIButton *button = (UIButton *)sender; |
67 |
67 |
68 if (button.tag == 0) { |
68 if (button.tag == 0) { |
69 [[AudioManagerController mainManager] playBackSound]; |
69 [[AudioManagerController mainManager] playBackSound]; |
70 [self.tableView setEditing:NO animated:YES]; |
70 [self.tableView setEditing:NO animated:YES]; |
71 [[self parentViewController] dismissModalViewControllerAnimated:YES]; |
71 [[self presentingViewController] dismissViewControllerAnimated:YES completion:nil]; |
72 } else { |
72 } else { |
73 NSString *titleStr, *cancelStr, *confirmStr; |
73 NSString *titleStr, *cancelStr, *confirmStr; |
74 titleStr = NSLocalizedString(@"Are you reeeeeally sure?", @""); |
74 titleStr = NSLocalizedString(@"Are you reeeeeally sure?", @""); |
75 cancelStr = NSLocalizedString(@"Well, maybe not...", @""); |
75 cancelStr = NSLocalizedString(@"Well, maybe not...", @""); |
76 confirmStr = NSLocalizedString(@"Of course!", @""); |
76 confirmStr = NSLocalizedString(@"Of course!", @""); |