@@ -609,6 +609,7 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
609609 }
610610
611611 UITableViewCell* cell = [self tableView: tableView newCellForSpecifier: specifier];
612+ cell.textLabel .textColor = (specifier.isAddSpecifier || specifier.textAlignment == NSTextAlignmentCenter) ? self.tintColor : [UILabel appearanceWhenContainedInInstancesOfClasses: @[UITableViewCell.class]].textColor ;
612613 if (![specifier.type isEqualToString: kIASKPSSliderSpecifier ]) {
613614 cell.imageView .image = specifier.cellImage ;
614615 }
@@ -648,11 +649,16 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
648649
649650 BOOL hasTitle = title.length > 0 && !specifier.isItemSpecifier ;
650651 cell.detailTextLabel .text = [[specifier titleForCurrentValue: currentValue ?: specifier.defaultValue] description ];
652+ cell.detailTextLabel .textColor = self.tintColor ;
651653 if (hasTitle) {
652654 cell.textLabel .text = title;
653655 } else {
654656 cell.textLabel .text = cell.detailTextLabel .text ;
655657 cell.detailTextLabel .text = nil ;
658+
659+ if (!specifier.parentSpecifier ) {
660+ cell.textLabel .textColor = self.tintColor ;
661+ }
656662 }
657663 }
658664 else if (specifier.embeddedDatePicker ) {
@@ -760,6 +766,7 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
760766 cell.textLabel .text = [self .settingsReader titleForId: valueString];
761767 } else {
762768 cell.detailTextLabel .text = [self .settingsReader titleForId: valueString];
769+ cell.detailTextLabel .textColor = self.tintColor ;
763770 }
764771 }
765772 }
@@ -802,7 +809,6 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
802809 cell.detailTextLabel .textAlignment = specifier.textAlignment ;
803810 cell.textLabel .adjustsFontSizeToFitWidth = specifier.adjustsFontSizeToFitWidth ;
804811 cell.detailTextLabel .adjustsFontSizeToFitWidth = specifier.adjustsFontSizeToFitWidth ;
805- cell.textLabel .textColor = (specifier.isAddSpecifier || specifier.textAlignment == NSTextAlignmentCenter) ? self.tintColor : [UILabel appearanceWhenContainedInInstancesOfClasses: @[UITableViewCell.class]].textColor ;
806812 return cell;
807813}
808814
0 commit comments