mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 09:02:44 +02:00
Prepare Dark Theme - Customize Riot view by using customizeViewRendering method.
https://github.com/vector-im/riot-meta/issues/22
This commit is contained in:
@@ -96,9 +96,6 @@
|
||||
{
|
||||
[super awakeFromNib];
|
||||
|
||||
self.separatorView.backgroundColor = kRiotColorLightGrey;
|
||||
self.messageLabel.textColor = kRiotTextColorGray;
|
||||
|
||||
// Adjust text view
|
||||
// Remove the container inset: this operation impacts only the vertical margin.
|
||||
// Reset textContainer.lineFragmentPadding to remove horizontal margin.
|
||||
@@ -108,6 +105,18 @@
|
||||
xibMainHeightConstraint = self.mainHeightConstraint.constant;
|
||||
}
|
||||
|
||||
#pragma mark - Override MXKView
|
||||
|
||||
-(void)customizeViewRendering
|
||||
{
|
||||
[super customizeViewRendering];
|
||||
|
||||
self.separatorView.backgroundColor = kRiotColorLightGrey;
|
||||
self.messageLabel.textColor = kRiotTextColorGray;
|
||||
}
|
||||
|
||||
#pragma mark -
|
||||
|
||||
- (void)displayUnsentMessagesNotification:(NSString*)notification withResendLink:(void (^)(void))onResendLinkPressed andCancelLink:(void (^)(void))onCancelLinkPressed andIconTapGesture:(void (^)(void))onIconTapGesture
|
||||
{
|
||||
[self reset];
|
||||
|
||||
Reference in New Issue
Block a user