Manos Chorianopoulos

redesign WalletViewController part2

......@@ -21,11 +21,11 @@ import UIKit
super.awakeFromNib()
// Initialization code
couponBgImage.image = UIImage(named: "coupon_bg", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
couponImage.image = UIImage(named: "coupon_market", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
couponBgImage.image = UIImage(named: "coupon_bg_2", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
couponImage.image = UIImage(named: "coupon_market_2", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
borderView.addDashedBorderVertical(color: UIColor(red: 0.44, green: 0.44, blue: 0.44, alpha: 1.00), width: 1.0, height: 110.0)
borderView.addDashedBorderVertical(color: UIColor(red: 0.62, green: 0.62, blue: 0.61, alpha: 1.00), width: 1.0, height: 110.0)
}
public override func setSelected(_ selected: Bool, animated: Bool) {
......
......@@ -792,7 +792,7 @@ extension WalletViewController: UITableViewDelegate, UITableViewDataSource{
// }
} else if (indexPath.section == 1) {
if (self.unifiedCoupons.count > 0) {
return 120.0 + 8.0
return 130.0 + 8.0
} else {
return 0.0
}
......@@ -826,7 +826,7 @@ extension WalletViewController: UITableViewDelegate, UITableViewDataSource{
let titleLabel = UILabel(frame: CGRect(x: 20, y: 40, width: view.frame.width - 40, height: 20))
titleLabel.font = UIFont(name: "BTCosmo-Bold", size: 20)
titleLabel.textColor = UIColor(red: 0.13, green: 0.13, blue: 0.13, alpha: 1.00)
titleLabel.text = "COSMOTE SuperMarket Deals"
titleLabel.text = "SuperMarket Deals"
view.addSubview(titleLabel)
return view
......