reskin: kill kRiotPrimaryBgColor

This commit is contained in:
manuroe
2019-01-10 17:50:26 +01:00
parent 6ab772ba18
commit f89848ef26
49 changed files with 120 additions and 120 deletions
@@ -78,10 +78,10 @@
self.activityIndicator.backgroundColor = kRiotOverlayColor;
// Check the table view style to select its bg color.
self.searchTableView.backgroundColor = ((self.searchTableView.style == UITableViewStylePlain) ? kRiotPrimaryBgColor : kRiotSecondaryBgColor);
self.searchTableView.backgroundColor = ((self.searchTableView.style == UITableViewStylePlain) ? RiotDesignValues.theme.backgroundColor : kRiotSecondaryBgColor);
self.view.backgroundColor = self.searchTableView.backgroundColor;
self.noResultsLabel.textColor = kRiotPrimaryBgColor;
self.noResultsLabel.textColor = RiotDesignValues.theme.backgroundColor;
if (self.searchTableView.dataSource)
{
@@ -173,7 +173,7 @@
- (void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath;
{
cell.backgroundColor = kRiotPrimaryBgColor;
cell.backgroundColor = RiotDesignValues.theme.backgroundColor;
// Update the selected background view
if (kRiotSelectedBgColor)