equal
deleted
inserted
replaced
298 } |
298 } |
299 |
299 |
300 [aTableView deselectRowAtIndexPath:indexPath animated:YES]; |
300 [aTableView deselectRowAtIndexPath:indexPath animated:YES]; |
301 } |
301 } |
302 |
302 |
303 -(NSString *)tableView:(UITableView *)aTableView titleForHeaderInSection:(NSInteger)section { |
303 - (NSString *)tableView:(UITableView *)aTableView titleForHeaderInSection:(NSInteger)section { |
304 NSString *sectionTitle = nil; |
304 NSString *sectionTitle = nil; |
305 switch (section) { |
305 switch (section) { |
306 case 0: |
306 case 0: |
307 sectionTitle = NSLocalizedString(@"Scheme Name", @""); |
307 sectionTitle = NSLocalizedString(@"Scheme Name", @""); |
308 break; |
308 break; |
317 break; |
317 break; |
318 } |
318 } |
319 return sectionTitle; |
319 return sectionTitle; |
320 } |
320 } |
321 |
321 |
322 -(CGFloat) tableView:(UITableView *)aTableView heightForRowAtIndexPath:(NSIndexPath *)indexPath { |
322 - (CGFloat)tableView:(UITableView *)aTableView heightForRowAtIndexPath:(NSIndexPath *)indexPath { |
323 if ([indexPath section] == 0) |
323 if ([indexPath section] == 0) |
324 return aTableView.rowHeight; |
324 return aTableView.rowHeight; |
325 else if ([indexPath section] == 1) |
325 else if ([indexPath section] == 1) |
326 return IS_ON_PORTRAIT() ? 72 : aTableView.rowHeight; |
326 return IS_ON_PORTRAIT() ? 72 : aTableView.rowHeight; |
327 else |
327 else |