equal
deleted
inserted
replaced
282 UITableViewCell *cell = [aTableView dequeueReusableCellWithIdentifier:CellIdentifier]; |
282 UITableViewCell *cell = [aTableView dequeueReusableCellWithIdentifier:CellIdentifier]; |
283 if (cell == nil) |
283 if (cell == nil) |
284 cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier] autorelease]; |
284 cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier] autorelease]; |
285 |
285 |
286 if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) { |
286 if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) { |
287 cell.textLabel.textColor = [UIColor yellowColor]; //TODO: find proper color |
287 cell.textLabel.textColor = [UIColor colorWithRed:(CGFloat)0xFE/255 green:(CGFloat)0xCB/255 blue:0 alpha:1 ]; |
288 } |
288 } |
289 |
289 |
290 if (self.segmentedControl.selectedSegmentIndex != 1) { |
290 if (self.segmentedControl.selectedSegmentIndex != 1) { |
291 // the % prevents a strange bug that occurs sporadically |
291 // the % prevents a strange bug that occurs sporadically |
292 NSString *themeName = [self.themeArray objectAtIndex:row % [self.themeArray count]]; |
292 NSString *themeName = [self.themeArray objectAtIndex:row % [self.themeArray count]]; |