mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-30 05:06:58 +02:00
reskin: Create ThemeService.shared
This commit is contained in:
@@ -28,12 +28,12 @@
|
||||
{
|
||||
[super customizeViewRendering];
|
||||
|
||||
self.containerView.backgroundColor = ThemeService.theme.headerBackgroundColor;
|
||||
self.textView.backgroundColor = ThemeService.theme.backgroundColor;
|
||||
self.defaultTextColor = ThemeService.theme.textPrimaryColor;
|
||||
self.cancelButton.tintColor = ThemeService.theme.tintColor;
|
||||
self.deleteButton.tintColor = ThemeService.theme.tintColor;
|
||||
self.renameButton.tintColor = ThemeService.theme.tintColor;
|
||||
self.containerView.backgroundColor = ThemeService.shared.theme.headerBackgroundColor;
|
||||
self.textView.backgroundColor = ThemeService.shared.theme.backgroundColor;
|
||||
self.defaultTextColor = ThemeService.shared.theme.textPrimaryColor;
|
||||
self.cancelButton.tintColor = ThemeService.shared.theme.tintColor;
|
||||
self.deleteButton.tintColor = ThemeService.shared.theme.tintColor;
|
||||
self.renameButton.tintColor = ThemeService.shared.theme.tintColor;
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
@@ -27,10 +27,10 @@
|
||||
{
|
||||
[super customizeTableViewCellRendering];
|
||||
|
||||
self.mxkLabel.textColor = ThemeService.theme.textPrimaryColor;
|
||||
self.mxkTextField.textColor = ThemeService.theme.textPrimaryColor;
|
||||
self.mxkLabel.textColor = ThemeService.shared.theme.textPrimaryColor;
|
||||
self.mxkTextField.textColor = ThemeService.shared.theme.textPrimaryColor;
|
||||
|
||||
_isoCountryCodeLabel.textColor = ThemeService.theme.textPrimaryColor;
|
||||
_isoCountryCodeLabel.textColor = ThemeService.shared.theme.textPrimaryColor;
|
||||
}
|
||||
|
||||
- (void)setIsoCountryCode:(NSString *)isoCountryCode
|
||||
|
||||
Reference in New Issue
Block a user