Showing
5 changed files
with
12 additions
and
2 deletions
No preview for this file type
This diff is collapsed. Click to expand it.
| ... | @@ -32,7 +32,10 @@ import UIKit | ... | @@ -32,7 +32,10 @@ import UIKit |
| 32 | badgeView.layer.cornerRadius = 16.0 | 32 | badgeView.layer.cornerRadius = 16.0 |
| 33 | 33 | ||
| 34 | badgeCountView.layer.cornerRadius = 4.0 | 34 | badgeCountView.layer.cornerRadius = 4.0 |
| 35 | - badgeCountView.backgroundColor = UIColor(red: 0.92, green: 0.75, blue: 0.41, alpha: 1.00) | 35 | +// badgeCountView.backgroundColor = UIColor(red: 0.92, green: 0.75, blue: 0.41, alpha: 1.00) |
| 36 | + badgeCountView.backgroundColor = UIColor(rgb: 0xE20074) | ||
| 37 | + | ||
| 38 | + badgeCountLabel.textColor = .white | ||
| 36 | } | 39 | } |
| 37 | 40 | ||
| 38 | func configureCell(badgeId: String, badgeCount: Int) { | 41 | func configureCell(badgeId: String, badgeCount: Int) { | ... | ... |
| ... | @@ -39,10 +39,12 @@ import SwiftEventBus | ... | @@ -39,10 +39,12 @@ import SwiftEventBus |
| 39 | dotLeftWidth.constant = 12 | 39 | dotLeftWidth.constant = 12 |
| 40 | dotLeftHeight.constant = 12 | 40 | dotLeftHeight.constant = 12 |
| 41 | dotLeft.layer.cornerRadius = 6 | 41 | dotLeft.layer.cornerRadius = 6 |
| 42 | + dotLeft.backgroundColor = UIColor(rgb: 0xE20074) | ||
| 42 | 43 | ||
| 43 | dotRightWidth.constant = 8 | 44 | dotRightWidth.constant = 8 |
| 44 | dotRightHeight.constant = 8 | 45 | dotRightHeight.constant = 8 |
| 45 | dotRight.layer.cornerRadius = 4 | 46 | dotRight.layer.cornerRadius = 4 |
| 47 | + dotRight.backgroundColor = UIColor(rgb: 0x767676) | ||
| 46 | 48 | ||
| 47 | } | 49 | } |
| 48 | 50 | ||
| ... | @@ -113,19 +115,23 @@ extension WalletActiveCouponsScrollTableViewCell: UIScrollViewDelegate { | ... | @@ -113,19 +115,23 @@ extension WalletActiveCouponsScrollTableViewCell: UIScrollViewDelegate { |
| 113 | dotLeftWidth.constant = 8 | 115 | dotLeftWidth.constant = 8 |
| 114 | dotLeftHeight.constant = 8 | 116 | dotLeftHeight.constant = 8 |
| 115 | dotLeft.layer.cornerRadius = 4 | 117 | dotLeft.layer.cornerRadius = 4 |
| 118 | + dotLeft.backgroundColor = UIColor(rgb: 0x767676) | ||
| 116 | 119 | ||
| 117 | dotRightWidth.constant = 12 | 120 | dotRightWidth.constant = 12 |
| 118 | dotRightHeight.constant = 12 | 121 | dotRightHeight.constant = 12 |
| 119 | dotRight.layer.cornerRadius = 6 | 122 | dotRight.layer.cornerRadius = 6 |
| 123 | + dotRight.backgroundColor = UIColor(rgb: 0xE20074) | ||
| 120 | 124 | ||
| 121 | } else { | 125 | } else { |
| 122 | dotLeftWidth.constant = 12 | 126 | dotLeftWidth.constant = 12 |
| 123 | dotLeftHeight.constant = 12 | 127 | dotLeftHeight.constant = 12 |
| 124 | dotLeft.layer.cornerRadius = 6 | 128 | dotLeft.layer.cornerRadius = 6 |
| 129 | + dotLeft.backgroundColor = UIColor(rgb: 0xE20074) | ||
| 125 | 130 | ||
| 126 | dotRightWidth.constant = 8 | 131 | dotRightWidth.constant = 8 |
| 127 | dotRightHeight.constant = 8 | 132 | dotRightHeight.constant = 8 |
| 128 | dotRight.layer.cornerRadius = 4 | 133 | dotRight.layer.cornerRadius = 4 |
| 134 | + dotRight.backgroundColor = UIColor(rgb: 0x767676) | ||
| 129 | } | 135 | } |
| 130 | 136 | ||
| 131 | } | 137 | } | ... | ... |
| ... | @@ -41,7 +41,8 @@ import UIKit | ... | @@ -41,7 +41,8 @@ import UIKit |
| 41 | // voucherBannerLabel.text = "Ενημερώσου για το υπόλοιπο επιδότησης" | 41 | // voucherBannerLabel.text = "Ενημερώσου για το υπόλοιπο επιδότησης" |
| 42 | 42 | ||
| 43 | voucherCountView.layer.cornerRadius = 4.0 | 43 | voucherCountView.layer.cornerRadius = 4.0 |
| 44 | - voucherCountView.backgroundColor = UIColor(red: 0.92, green: 0.75, blue: 0.41, alpha: 1.00) | 44 | +// voucherCountView.backgroundColor = UIColor(red: 0.92, green: 0.75, blue: 0.41, alpha: 1.00) |
| 45 | + voucherCountView.backgroundColor = UIColor(rgb: 0xE20074) | ||
| 45 | } | 46 | } |
| 46 | 47 | ||
| 47 | public override func setSelected(_ selected: Bool, animated: Bool) { | 48 | public override func setSelected(_ selected: Bool, animated: Bool) { | ... | ... |
-
Please register or login to post a comment