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
+6 -6
View File
@@ -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