Refine theme.

pull/1/head
Matthew Chen 7 years ago
parent a543cd5a4e
commit a56a16411f

@ -53,7 +53,7 @@ class QuotedReplyPreview: UIView {
let buttonImage: UIImage = #imageLiteral(resourceName: "quoted-message-cancel").withRenderingMode(.alwaysTemplate) let buttonImage: UIImage = #imageLiteral(resourceName: "quoted-message-cancel").withRenderingMode(.alwaysTemplate)
cancelButton.setImage(buttonImage, for: .normal) cancelButton.setImage(buttonImage, for: .normal)
cancelButton.imageView?.tintColor = .darkGray cancelButton.imageView?.tintColor = Theme.secondaryColor
cancelButton.addTarget(self, action: #selector(didTapCancel), for: .touchUpInside) cancelButton.addTarget(self, action: #selector(didTapCancel), for: .touchUpInside)
self.layoutMargins = .zero self.layoutMargins = .zero

@ -109,7 +109,7 @@ NSString *const ThemeKeyThemeEnabled = @"ThemeKeyThemeEnabled";
+ (UIColor *)conversationButtonBackgroundColor + (UIColor *)conversationButtonBackgroundColor
{ {
return (Theme.isDarkThemeEnabled ? [UIColor colorWithWhite:0.3f alpha:1.f] : UIColor.ows_light02Color); return (Theme.isDarkThemeEnabled ? [UIColor colorWithWhite:0.35f alpha:1.f] : UIColor.ows_light02Color);
} }
#pragma mark - #pragma mark -

Loading…
Cancel
Save