reskin: kill last customisable kRiotXColors

This commit is contained in:
manuroe
2019-01-10 18:47:49 +01:00
parent e58035b155
commit e98a26ebb8
40 changed files with 136 additions and 137 deletions

View File

@@ -74,7 +74,7 @@
{
[RiotDesignValues.theme applyStyleOnNavigationBar:self.navigationController.navigationBar];
self.activityIndicator.backgroundColor = kRiotOverlayColor;
self.activityIndicator.backgroundColor = RiotDesignValues.theme.overlayBackgroundColor;
// Check the table view style to select its bg color.
self.searchTableView.backgroundColor = ((self.searchTableView.style == UITableViewStylePlain) ? RiotDesignValues.theme.backgroundColor : RiotDesignValues.theme.headerBackgroundColor);
@@ -149,10 +149,10 @@
cell.backgroundColor = RiotDesignValues.theme.backgroundColor;
// Update the selected background view
if (kRiotSelectedBgColor)
if (RiotDesignValues.theme.selectedBackgroundColor)
{
cell.selectedBackgroundView = [[UIView alloc] init];
cell.selectedBackgroundView.backgroundColor = kRiotSelectedBgColor;
cell.selectedBackgroundView.backgroundColor = RiotDesignValues.theme.selectedBackgroundColor;
}
else
{