mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-25 02:52:45 +02:00
reskin: kill kRiotPrimaryBgColor
This commit is contained in:
@@ -76,8 +76,8 @@
|
||||
[RiotDesignValues.theme applyStyleOnSearchBar:self.searchBar];
|
||||
|
||||
// Use the primary bg color for the table view in plain style.
|
||||
self.tableView.backgroundColor = kRiotPrimaryBgColor;
|
||||
topview.backgroundColor = kRiotPrimaryBgColor;
|
||||
self.tableView.backgroundColor = RiotDesignValues.theme.backgroundColor;
|
||||
topview.backgroundColor = RiotDesignValues.theme.backgroundColor;
|
||||
|
||||
if (self.tableView.dataSource)
|
||||
{
|
||||
@@ -116,7 +116,7 @@
|
||||
{
|
||||
cell.textLabel.textColor = kRiotPrimaryTextColor;
|
||||
cell.detailTextLabel.textColor = kRiotSecondaryTextColor;
|
||||
cell.backgroundColor = kRiotPrimaryBgColor;
|
||||
cell.backgroundColor = RiotDesignValues.theme.backgroundColor;
|
||||
|
||||
// Update the selected background view
|
||||
if (kRiotSelectedBgColor)
|
||||
|
||||
@@ -79,8 +79,8 @@
|
||||
[RiotDesignValues.theme applyStyleOnSearchBar:self.searchBar];
|
||||
|
||||
// Use the primary bg color for the table view in plain style.
|
||||
self.tableView.backgroundColor = kRiotPrimaryBgColor;
|
||||
topview.backgroundColor = kRiotPrimaryBgColor;
|
||||
self.tableView.backgroundColor = RiotDesignValues.theme.backgroundColor;
|
||||
topview.backgroundColor = RiotDesignValues.theme.backgroundColor;
|
||||
self.searchDisplayController.searchResultsTableView.backgroundColor = self.tableView.backgroundColor;
|
||||
|
||||
if (self.tableView.dataSource)
|
||||
@@ -120,7 +120,7 @@
|
||||
{
|
||||
cell.textLabel.textColor = kRiotPrimaryTextColor;
|
||||
cell.detailTextLabel.textColor = kRiotSecondaryTextColor;
|
||||
cell.backgroundColor = kRiotPrimaryBgColor;
|
||||
cell.backgroundColor = RiotDesignValues.theme.backgroundColor;
|
||||
|
||||
// Update the selected background view
|
||||
if (kRiotSelectedBgColor)
|
||||
|
||||
@@ -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) ? kRiotPrimaryBgColor : kRiotSecondaryBgColor);
|
||||
self.tableView.backgroundColor = ((self.tableView.style == UITableViewStylePlain) ? RiotDesignValues.theme.backgroundColor : kRiotSecondaryBgColor);
|
||||
self.view.backgroundColor = self.tableView.backgroundColor;
|
||||
|
||||
if (self.tableView.dataSource)
|
||||
@@ -2362,7 +2362,7 @@ typedef void (^blockSettingsViewController_onReadyToDestroy)(void);
|
||||
|
||||
- (void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath;
|
||||
{
|
||||
cell.backgroundColor = kRiotPrimaryBgColor;
|
||||
cell.backgroundColor = RiotDesignValues.theme.backgroundColor;
|
||||
|
||||
if (cell.selectionStyle != UITableViewCellSelectionStyleNone)
|
||||
{
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
[super customizeViewRendering];
|
||||
|
||||
self.containerView.backgroundColor = kRiotSecondaryBgColor;
|
||||
self.textView.backgroundColor = kRiotPrimaryBgColor;
|
||||
self.textView.backgroundColor = RiotDesignValues.theme.backgroundColor;
|
||||
self.defaultTextColor = kRiotPrimaryTextColor;
|
||||
self.cancelButton.tintColor = RiotDesignValues.theme.tintColor;
|
||||
self.deleteButton.tintColor = RiotDesignValues.theme.tintColor;
|
||||
|
||||
Reference in New Issue
Block a user