reskin: kill kRiotSecondaryBgColor

This commit is contained in:
manuroe
2019-01-10 17:57:17 +01:00
parent f89848ef26
commit 6eeeb2f8d6
41 changed files with 69 additions and 69 deletions
@@ -339,7 +339,7 @@ typedef void (^blockSettingsViewController_onReadyToDestroy)(void);
self.activityIndicator.backgroundColor = kRiotOverlayColor;
// Check the table view style to select its bg color.
self.tableView.backgroundColor = ((self.tableView.style == UITableViewStylePlain) ? RiotDesignValues.theme.backgroundColor : kRiotSecondaryBgColor);
self.tableView.backgroundColor = ((self.tableView.style == UITableViewStylePlain) ? RiotDesignValues.theme.backgroundColor : RiotDesignValues.theme.headerBackgroundColor);
self.view.backgroundColor = self.tableView.backgroundColor;
if (self.tableView.dataSource)
@@ -1672,7 +1672,7 @@ typedef void (^blockSettingsViewController_onReadyToDestroy)(void);
else if (row == userSettingsNightModeSepIndex)
{
UITableViewCell *sepCell = [[UITableViewCell alloc] init];
sepCell.backgroundColor = kRiotSecondaryBgColor;
sepCell.backgroundColor = RiotDesignValues.theme.headerBackgroundColor;
cell = sepCell;
}
@@ -2473,7 +2473,7 @@ typedef void (^blockSettingsViewController_onReadyToDestroy)(void);
}];
leaveAction.backgroundColor = [MXKTools convertImageToPatternColor:@"remove_icon_pink" backgroundColor:kRiotSecondaryBgColor patternSize:CGSizeMake(50, cellHeight) resourceSize:CGSizeMake(24, 24)];
leaveAction.backgroundColor = [MXKTools convertImageToPatternColor:@"remove_icon_pink" backgroundColor:RiotDesignValues.theme.headerBackgroundColor patternSize:CGSizeMake(50, cellHeight) resourceSize:CGSizeMake(24, 24)];
[actions insertObject:leaveAction atIndex:0];
}
}