Theme: Remove non needed reaction colors

This commit is contained in:
SBiOSoftWhare
2019-05-21 01:09:42 +02:00
parent 6417dde30c
commit da064aff98
4 changed files with 3 additions and 12 deletions
@@ -81,7 +81,7 @@ final class BubbleReactionViewCell: UICollectionViewCell, NibReusable, Themable
func update(theme: Theme) {
self.theme = theme
self.reactionBackgroundView.layer.borderColor = self.theme?.reactionButtonSelectedBorderColor.cgColor
self.reactionBackgroundView.layer.borderColor = self.theme?.tintColor.cgColor
self.countLabel.textColor = self.theme?.textPrimaryColor
self.updateViews()
}
@@ -94,7 +94,7 @@ final class BubbleReactionViewCell: UICollectionViewCell, NibReusable, Themable
let reactionBackgroundBorderWidth: CGFloat
if self.isReactionSelected {
reactionBackgroundColor = self.theme?.reactionButtonSelectedBackgroundColor
reactionBackgroundColor = self.theme?.tintBackgroundColor
reactionBackgroundBorderWidth = Constants.selectedBorderWidth
} else {
reactionBackgroundColor = self.theme?.headerBackgroundColor