Manos Chorianopoulos

MyRewardsViewController ui fix

......@@ -100,6 +100,7 @@ import UIKit
self.myCouponsView.layer.cornerRadius = 28
self.myCouponsView.layer.masksToBounds = true
self.myCouponsCountView.widthAnchor.constraint(greaterThanOrEqualToConstant: 21).isActive = true
self.myCouponsCountView.layer.borderWidth = 2.0
self.myCouponsCountView.layer.borderColor = UIColor(rgb: 0xFFFFFF).cgColor
self.myCouponsCountView.layer.cornerRadius = 10.5
......@@ -113,6 +114,7 @@ import UIKit
self.myCouponsCountLabel.text = "0"
self.myCouponsCountLabel.font = UIFont(name: "PingLCG-Bold", size: 14)
self.myCouponsCountLabel.textColor = UIColor(rgb: 0xFFFFFF)
self.myCouponsCountLabel.textAlignment = .center
self.myCouponsCountLabel.frame.size.width = self.myCouponsCountLabel.intrinsicContentSize.width
self.myCouponsCountLabel.frame.size.height = self.myCouponsCountLabel.intrinsicContentSize.height
......