mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-29 04:36:58 +02:00
Apply new lineBreakColor where needed
This commit is contained in:
@@ -117,6 +117,7 @@
|
||||
// Check the table view style to select its bg color.
|
||||
self.bubblesTableView.backgroundColor = ((self.bubblesTableView.style == UITableViewStylePlain) ? ThemeService.shared.theme.backgroundColor : ThemeService.shared.theme.headerBackgroundColor);
|
||||
self.view.backgroundColor = self.bubblesTableView.backgroundColor;
|
||||
self.bubblesTableView.separatorColor = ThemeService.shared.theme.lineBreakColor;
|
||||
|
||||
if (self.bubblesTableView.dataSource)
|
||||
{
|
||||
|
||||
@@ -231,6 +231,7 @@
|
||||
// Check the table view style to select its bg color.
|
||||
self.tableView.backgroundColor = ((self.tableView.style == UITableViewStylePlain) ? ThemeService.shared.theme.backgroundColor : ThemeService.shared.theme.headerBackgroundColor);
|
||||
self.view.backgroundColor = self.tableView.backgroundColor;
|
||||
self.tableView.separatorColor = ThemeService.shared.theme.lineBreakColor;
|
||||
|
||||
if (self.tableView.dataSource)
|
||||
{
|
||||
|
||||
@@ -168,6 +168,7 @@
|
||||
// Check the table view style to select its bg color.
|
||||
self.tableView.backgroundColor = ((self.tableView.style == UITableViewStylePlain) ? ThemeService.shared.theme.backgroundColor : ThemeService.shared.theme.headerBackgroundColor);
|
||||
self.view.backgroundColor = self.tableView.backgroundColor;
|
||||
self.tableView.separatorColor = ThemeService.shared.theme.lineBreakColor;
|
||||
|
||||
// Update the gradient view above the screen
|
||||
CGFloat white = 1.0;
|
||||
|
||||
@@ -454,6 +454,7 @@
|
||||
|
||||
// Check the table view style to select its bg color.
|
||||
self.bubblesTableView.backgroundColor = ((self.bubblesTableView.style == UITableViewStylePlain) ? ThemeService.shared.theme.backgroundColor : ThemeService.shared.theme.headerBackgroundColor);
|
||||
self.bubblesTableView.separatorColor = ThemeService.shared.theme.lineBreakColor;
|
||||
self.view.backgroundColor = self.bubblesTableView.backgroundColor;
|
||||
|
||||
if (self.bubblesTableView.dataSource)
|
||||
|
||||
@@ -79,6 +79,7 @@
|
||||
// Check the table view style to select its bg color.
|
||||
self.searchTableView.backgroundColor = ((self.searchTableView.style == UITableViewStylePlain) ? ThemeService.shared.theme.backgroundColor : ThemeService.shared.theme.headerBackgroundColor);
|
||||
self.view.backgroundColor = self.searchTableView.backgroundColor;
|
||||
self.searchTableView.separatorColor = ThemeService.shared.theme.lineBreakColor;
|
||||
|
||||
self.noResultsLabel.textColor = ThemeService.shared.theme.backgroundColor;
|
||||
|
||||
|
||||
@@ -80,6 +80,7 @@
|
||||
// Check the table view style to select its bg color.
|
||||
self.searchTableView.backgroundColor = ((self.searchTableView.style == UITableViewStylePlain) ? ThemeService.shared.theme.backgroundColor : ThemeService.shared.theme.headerBackgroundColor);
|
||||
self.view.backgroundColor = self.searchTableView.backgroundColor;
|
||||
self.searchTableView.separatorColor = ThemeService.shared.theme.lineBreakColor;
|
||||
|
||||
self.noResultsLabel.textColor = ThemeService.shared.theme.backgroundColor;
|
||||
|
||||
|
||||
@@ -273,6 +273,7 @@ NSString *const kRoomSettingsAdvancedE2eEnabledCellViewIdentifier = @"kRoomSetti
|
||||
// Check the table view style to select its bg color.
|
||||
self.tableView.backgroundColor = ((self.tableView.style == UITableViewStylePlain) ? ThemeService.shared.theme.backgroundColor : ThemeService.shared.theme.headerBackgroundColor);
|
||||
self.view.backgroundColor = self.tableView.backgroundColor;
|
||||
self.tableView.separatorColor = ThemeService.shared.theme.lineBreakColor;
|
||||
|
||||
if (self.tableView.dataSource)
|
||||
{
|
||||
|
||||
@@ -112,7 +112,7 @@
|
||||
{
|
||||
[super customizeViewRendering];
|
||||
|
||||
self.separatorView.backgroundColor = ThemeService.shared.theme.headerBackgroundColor;
|
||||
self.separatorView.backgroundColor = ThemeService.shared.theme.lineBreakColor;
|
||||
if (self.messageLabel.textColor != ThemeService.shared.theme.warningColor)
|
||||
{
|
||||
self.messageLabel.textColor = ThemeService.shared.theme.textSecondaryColor;
|
||||
|
||||
@@ -38,7 +38,7 @@ NSString *const kRoomMembershipExpandedBubbleCellTapOnCollapseButton = @"kRoomMe
|
||||
{
|
||||
[super customizeTableViewCellRendering];
|
||||
|
||||
self.separatorView.backgroundColor = ThemeService.shared.theme.headerBackgroundColor;
|
||||
self.separatorView.backgroundColor = ThemeService.shared.theme.lineBreakColor;
|
||||
|
||||
[self.collapseButton setTintColor:ThemeService.shared.theme.tintColor];
|
||||
self.collapseButton.titleLabel.font = [UIFont systemFontOfSize:14];
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
// Remove default toolbar background color
|
||||
self.backgroundColor = [UIColor clearColor];
|
||||
|
||||
self.separatorView.backgroundColor = ThemeService.shared.theme.headerTextSecondaryColor;
|
||||
self.separatorView.backgroundColor = ThemeService.shared.theme.lineBreakColor;
|
||||
|
||||
self.disabledReasonTextView.font = [UIFont systemFontOfSize:15];
|
||||
self.disabledReasonTextView.textColor = ThemeService.shared.theme.textPrimaryColor;
|
||||
|
||||
@@ -87,7 +87,7 @@
|
||||
// Remove default toolbar background color
|
||||
self.backgroundColor = [UIColor clearColor];
|
||||
|
||||
self.separatorView.backgroundColor = ThemeService.shared.theme.headerTextSecondaryColor;
|
||||
self.separatorView.backgroundColor = ThemeService.shared.theme.lineBreakColor;
|
||||
|
||||
// Custom the growingTextView display
|
||||
growingTextView.layer.cornerRadius = 0;
|
||||
|
||||
Reference in New Issue
Block a user