mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-19 08:03:50 +02:00
Room input toolbars: Revert separators.
This commit is contained in:
@@ -103,8 +103,6 @@
|
||||
// Reset textContainer.lineFragmentPadding to remove horizontal margin.
|
||||
self.messageTextView.textContainerInset = UIEdgeInsetsZero;
|
||||
self.messageTextView.textContainer.lineFragmentPadding = 0;
|
||||
|
||||
self.separatorView.hidden = YES;
|
||||
|
||||
xibMainHeightConstraint = self.mainHeightConstraint.constant;
|
||||
}
|
||||
@@ -114,7 +112,8 @@
|
||||
-(void)customizeViewRendering
|
||||
{
|
||||
[super customizeViewRendering];
|
||||
|
||||
|
||||
self.separatorView.backgroundColor = ThemeService.shared.theme.lineBreakColor;
|
||||
if (self.messageLabel.textColor != ThemeService.shared.theme.warningColor)
|
||||
{
|
||||
self.messageLabel.textColor = ThemeService.shared.theme.textSecondaryColor;
|
||||
@@ -273,6 +272,9 @@
|
||||
self.backgroundColor = ThemeService.shared.theme.tintColor;
|
||||
self.messageTextView.backgroundColor = ThemeService.shared.theme.tintColor;
|
||||
|
||||
// Hide the separator to display correctly the red pink conf call banner
|
||||
self.separatorView.hidden = YES;
|
||||
|
||||
[self checkHeight:YES];
|
||||
}
|
||||
|
||||
@@ -500,12 +502,17 @@
|
||||
self.messageTextView.backgroundColor = ThemeService.shared.riotColorCuriousBlue;
|
||||
}
|
||||
|
||||
// Hide the separator to display correctly the banner
|
||||
self.separatorView.hidden = YES;
|
||||
|
||||
[self checkHeight:YES];
|
||||
}
|
||||
|
||||
- (void)reset
|
||||
{
|
||||
self.backgroundColor = ThemeService.shared.theme.baseColor;
|
||||
self.separatorView.hidden = NO;
|
||||
|
||||
self.backgroundColor = UIColor.clearColor;
|
||||
|
||||
[self resetIcon];
|
||||
[self resetMessage];
|
||||
|
||||
Reference in New Issue
Block a user