reskin: Create ThemeService.shared

This commit is contained in:
manuroe
2019-01-11 11:45:27 +01:00
parent 712a632120
commit 744a0b8d4f
112 changed files with 758 additions and 728 deletions

View File

@@ -28,13 +28,13 @@
{
[super customizeViewRendering];
self.backgroundColor = ThemeService.theme.headerBackgroundColor;
self.textView.backgroundColor = ThemeService.theme.backgroundColor;
self.defaultTextColor = ThemeService.theme.textPrimaryColor;
self.cancelButton.tintColor = ThemeService.theme.tintColor;
self.verifyButton.tintColor = ThemeService.theme.tintColor;
self.blockButton.tintColor = ThemeService.theme.tintColor;
self.confirmVerifyButton.tintColor = ThemeService.theme.tintColor;
self.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.verifyButton.tintColor = ThemeService.shared.theme.tintColor;
self.blockButton.tintColor = ThemeService.shared.theme.tintColor;
self.confirmVerifyButton.tintColor = ThemeService.shared.theme.tintColor;
}
@end