mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-04 23:17:43 +02:00
reskin: Create ThemeService.shared
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
{
|
||||
[super customizeTableViewCellRendering];
|
||||
|
||||
self.detailDescLabel.textColor = ThemeService.theme.textSecondaryColor;
|
||||
self.detailDescLabel.textColor = ThemeService.shared.theme.textSecondaryColor;
|
||||
}
|
||||
|
||||
- (void)render:(id<MXKDirectoryServerCellDataStoring>)cellData
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
{
|
||||
[super customizeTableViewCellRendering];
|
||||
|
||||
self.descLabel.textColor = ThemeService.theme.textPrimaryColor;
|
||||
self.descLabel.textColor = ThemeService.shared.theme.textPrimaryColor;
|
||||
}
|
||||
|
||||
- (void)layoutSubviews
|
||||
@@ -64,7 +64,7 @@
|
||||
withType:nil
|
||||
andImageOrientation:UIImageOrientationUp
|
||||
previewImage:[MXKTools paintImage:[UIImage imageNamed:@"placeholder"]
|
||||
withColor:ThemeService.theme.tintColor]
|
||||
withColor:ThemeService.shared.theme.tintColor]
|
||||
mediaManager:cellData.mediaManager];
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user