Fix iOS 13 cell highlighting

pull/55/head
Niels Andriesse 5 years ago
parent 80eca1d1d3
commit 9dac9027c9

@ -109,7 +109,11 @@ const CGFloat kOWSTable_DefaultCellHeight = 45.f;
+ (void)configureCell:(UITableViewCell *)cell
{
cell.backgroundColor = [Theme backgroundColor];
cell.contentView.backgroundColor = [Theme backgroundColor];
if (@available(iOS 13, *)) {
cell.contentView.backgroundColor = UIColor.clearColor;
} else {
cell.contentView.backgroundColor = Theme.backgroundColor;
}
cell.textLabel.font = [UIFont ows_regularFontWithSize:18.f];
cell.textLabel.textColor = [Theme primaryColor];
cell.detailTextLabel.textColor = [Theme secondaryColor];

Loading…
Cancel
Save