Manos Chorianopoulos

dfyCoupon Banner test v2

......@@ -112,15 +112,15 @@ import SwiftEventBus
var totalCouponValue = swiftApi().getDealsCouponsSum()
// if (totalCouponValue == 0.0) {
// dfyEarnBannerView.isHidden = true
// dfyEarnBannerHeight.constant = 0
// dfyEarnBannerTopSpace.constant = 0
// } else {
if (totalCouponValue == 0.0) {
dfyEarnBannerView.isHidden = true
dfyEarnBannerHeight.constant = 0
dfyEarnBannerTopSpace.constant = 0
} else {
dfyEarnBannerView.isHidden = false
dfyEarnBannerHeight.constant = 75
dfyEarnBannerTopSpace.constant = 30
// }
}
totalCouponValue = Float(round(100 * totalCouponValue) / 100)
var totalCouponValueString = "0"
......