mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 00:52:43 +02:00
reskin: Create ThemeService.shared
This commit is contained in:
@@ -28,11 +28,11 @@
|
||||
{
|
||||
[super customizeTableViewCellRendering];
|
||||
|
||||
self.title.textColor = ThemeService.theme.textPrimaryColor;
|
||||
self.title.textColor = ThemeService.shared.theme.textPrimaryColor;
|
||||
|
||||
self.message.textColor = ThemeService.theme.textSecondaryColor;
|
||||
self.message.textColor = ThemeService.shared.theme.textSecondaryColor;
|
||||
|
||||
self.date.tintColor = ThemeService.theme.textSecondaryColor;
|
||||
self.date.tintColor = ThemeService.shared.theme.textSecondaryColor;
|
||||
}
|
||||
|
||||
+ (CGFloat)heightForCellData:(MXKCellData *)cellData withMaximumWidth:(CGFloat)maxWidth
|
||||
@@ -76,7 +76,7 @@
|
||||
|
||||
if (bubbleData.isAttachmentWithThumbnail)
|
||||
{
|
||||
self.attachmentImageView.backgroundColor = ThemeService.theme.backgroundColor;
|
||||
self.attachmentImageView.backgroundColor = ThemeService.shared.theme.backgroundColor;
|
||||
[self.attachmentImageView setAttachmentThumb:bubbleData.attachment];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user