Room input toolbars: Hide separator.

This commit is contained in:
SBiOSoftWhare
2020-07-06 20:51:04 +02:00
parent d5ede6c0de
commit 8d8c869ea6
2 changed files with 10 additions and 5 deletions
@@ -39,6 +39,13 @@
}
}
- (void)awakeFromNib
{
[super awakeFromNib];
self.separatorView.hidden = YES;
}
#pragma mark - Override MXKView
-(void)customizeViewRendering
@@ -48,8 +55,6 @@
// Remove default toolbar background color
self.backgroundColor = [UIColor clearColor];
self.separatorView.backgroundColor = ThemeService.shared.theme.lineBreakColor;
self.disabledReasonTextView.font = [UIFont systemFontOfSize:15];
self.disabledReasonTextView.textColor = ThemeService.shared.theme.textPrimaryColor;
self.disabledReasonTextView.tintColor = ThemeService.shared.theme.tintColor;
@@ -69,6 +69,8 @@
[self.rightInputToolbarButton setTitleColor:ThemeService.shared.theme.tintColor forState:UIControlStateHighlighted];
self.isEncryptionEnabled = _isEncryptionEnabled;
self.separatorView.hidden = YES;
}
#pragma mark - Override MXKView
@@ -79,9 +81,7 @@
// Remove default toolbar background color
self.backgroundColor = [UIColor clearColor];
self.separatorView.backgroundColor = ThemeService.shared.theme.lineBreakColor;
// Custom the growingTextView display
growingTextView.layer.cornerRadius = 0;
growingTextView.layer.borderWidth = 0;